C Programming (ج البرمجة)
Pages
Home Page
Programming and IT Research Center
Basic Electronic for C.S.E
Saturday, July 20, 2013
Sum of two number in C
Sum of Two Number
#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter the 1st value : ");
scanf("%d",&a);
printf("Enter the 2nd value: ");
scanf("%d",&b);
c =a+b;
printf("Total of your value = %i",var3);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment