Simple C Program: Adding two numbers
Answers
Answered by
4
Code:
/* Simple C Program to add Two numbers */
#include <stdio.h>
int main()
{
int number1, number2, sum;
printf(" Enter two integer values \n ");
scanf("%d %d", &number1, &number2);
sum = number1 + number2;
printf(" Sum of the two integer values is %d", sum);
return 0;
}
Output:
(In the photo)
HOPE THIS HELPS YOU...............Ω
Attachments:
Answered by
0
Answer:
Explanation:
bro i to dont know
Similar questions