Computer Science, asked by angelaappu, 4 days ago

do a basic program to add to numbers


please answer this question and ill mark you as brainiliest

Answers

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

Explanation:

please mark me brainlist

Answered by itzmedipayan2
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);

On doing this you can add that as given in the attachment.

Hope it helps you from my side

Attachments:
Similar questions