Addition of two number C program C Programming Wednesday, May 13, 2015 Reading Add Comment addition.c #include<stdio.h> int main() { int a, b, c; printf("Enter two numbers to add\n"); scanf("%d%d",&a,&b); c = a + b; printf("Sum of entered numbers = %d\n",c); return 0; } Output- Enter two number to add 5 6 Sum of entered numbers = 11 C Programming C Programs Share: Facebook Twitter Google Plus Pinterest Related Articles
0 comments:
Post a Comment