ACCEPT AN INTERGER AND A FLOAT NUMBER FROM THE USER AND DISPLAY THE SUM OF THOSE ON THE SCREEN
Answers
Answered by
1
Answer:
printf("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.
Similar questions