Computer Science, asked by rajeejaganathan, 1 year ago

write a c program to find sum of two numbers

Answers

Answered by Anonymous
3

#include<stdio.h>
 
int main()
{
   int a, b, c;
 
   printf("Enter two numbers to add\n");
   scanf("%d%d",&a,&b);
 
   c = a + b;
 
   printf("Sum of entered numbers = %d\n",c);
 
   return 0;
}
Attachments:
Answered by Anonymous
5
#include<stdio.h>
#include<conio.h>
int main ()
{
int a , b ,c;
printf("enter the numbers \n",a,b);
scanf ("%d\t %d",&a,&b);
c= a+b;
printf("Sum of Numbers is %d",c);
getch();
}
Similar questions