PROGRAM : Sum of Two Numbers
#include<stdio.h>
int main()
{
int
a,b,sum;
printf("Type your frist value to add :
");
scanf("%d",&a);
printf("Type your second value to add :
");
scanf("%d",&b);
sum
=a+b;
printf("Total of your value = %d",sum);
return 0;
}
OUTPUT :
No comments:
Post a Comment