Addition program in c
#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter the two numbers:");
scanf("%d%d",&a,&b);
c=a+b;
printf("the addition value is:%d",c);
}
int main()
{
int a,b,c;
printf("Enter the two numbers:");
scanf("%d%d",&a,&b);
c=a+b;
printf("the addition value is:%d",c);
}
Output
Enter the two numbers:23
34
the addition value is:57
34
the addition value is:57
No comments:
Post a Comment