Saved Bookmarks
| 1. |
Write a program to input two number |
|
Answer» "ENTER TWO integers: "); scanf("%d %d", &number1, &number2); Then, these two NUMBERS are added using the + operator, and the result is stored in the sum variable.. Finally, the printf() function is USED to display the sum of numbers. printf("%d + %d = %d", number1, number2, sum); |
|