Computer Science, asked by mn5373171gmailcom, 7 months ago

write a program to inpuut 2 number and print them​

Answers

Answered by khaninayath302
2

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);

Similar questions