Program to add three Number in C
//add three number
#include<stdio.h>
int main()
{
int a,b,c,sum;
printf("enetr the value of a and b and c \n");
scanf("%d%d%d",&a,&b,&c);
sum=a+b+c;
printf("the sum is %d",sum);
return 0;
}
Tags:
C courses
Program to add three Number in C
//add three number
#include<stdio.h>
int main()
{
int a,b,c,sum;
printf("enetr the value of a and b and c \n");
scanf("%d%d%d",&a,&b,&c);
sum=a+b+c;
printf("the sum is %d",sum);
return 0;
}