Write a program in C sum of two numbers taken through user
// sum of two numbers taken through user
#include <stdio.h>
int main()
{
int a,b;
printf("Enter the value of a");
scanf("%d", &a);
printf("Enter the value of b ");
scanf("%d", &b);
printf("sum= %d\n", a+b);
return 0;
}
Comments
Post a Comment