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
3D ..
no output
PtStrCpy
16-bit signed or unsigned int -> ASCII
incrementing values in an array
My first program
printing float pointers
AVANCE PREGUNTA 10 DE CADENAS
bitwise operations
A_141107_Potencia