Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sum Two Numbers
//gcc 5.4.0 #include <stdio.h> int main(void) { // Modulo Use: the remainder /* int x = 89; printf("The reminder of the division of %d by 10 = %d\n",x, x % 10); x = 9; printf("The reminder of the division of %d by 10 = %d\n",x, x % 10); // Random Numbers myRand = rand(); // Generates Random Numbers printf("Random Number = %d\n", myRand); printf("%d\n", ((myRand % 6) + 1)); // Generates numbers 0 through 6, and then whatever number it prints add one // Read the numbers you have to use scanf */ int number; int number2; scanf("%d %d",&number,&number2); int sum = number + number2; printf("sum: %d\n", sum); return 0; }
run
|
edit
|
history
|
help
0
Stub Program for Problem 5 HW 2
str_ptr_to_fumc_v2
18BCE2182 ASSESS_1 Q1-7
25/11/2021
A_141128_MatricesProducto
1
CO Assignment 1 Question 2
tst2.c
printf
printing float 3 pointers