Computer Science, asked by biswasyashika, 6 months ago

write program in C++to display the sum of two numbers take two numbers as input for the user also show the output​

Answers

Answered by portugalindia567
0

Explanation:

#include <stdio.h>

int main()

{

int num1, num2, sum;

printf("Enter first number: ");

scanf("%d", &num1);

printf("Enter second number: ");

scanf("%d", &num2);

sum = num1 + num2;

printf("Sum of the entered numbers: %d", sum);

return 0;

}

Similar questions