#include<stdio.h>
main()
{
int a,b,sum;
printf("enter 2 numbers a&b");
scanf("%d%d",&a,&b);
printf("entered numbers are a=%d & b=%d",a,b);
sum=a+b;
printf("sum is %d",sum);
}
main()
{
int a,b,sum;
printf("enter 2 numbers a&b");
scanf("%d%d",&a,&b);
printf("entered numbers are a=%d & b=%d",a,b);
sum=a+b;
printf("sum is %d",sum);
}
No comments:
Post a Comment