CBSE BOARD XII, asked by WalkyTalky, 6 months ago

write a program add two numbers using functions with argument and return
CLASS 12 CBSE ​

Answers

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

Explanation:

please follow me.

Similar questions