Chinese, asked by manisarki9, 15 hours ago

wap to input 2 numbers and print the sum​

Answers

Answered by sunitarauth77
0

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. printf("%d + %d = %d", number1, number2, sum);

Explanation:

hope it's help you

Answered by dipakmandaltutu1973
0

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. printf("%d + %d = %d", number1, number2, sum);

Explanation:

Similar questions
English, 7 months ago