Q:

Write a C program and flowchart to print Addition of two numbers

0

Write a C program and flowchart to print Addition of two numbers

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 

#include 
int main()
{
int number1, number2, sum;
printf("Enter two integers: ");
scanf("%d %d", &number1, &number2);
// calculating sum
sum = number1 + number2;
printf("%d + %d = %d", number1,
number2, sum);
return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now