Headlines News :
Home » , » C program to add two numbers

C program to add two numbers




#include
 
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 of program:
add numbers
Share this post :
 
Support : Worldwide Solution | Intense Dealz | Your Link
Copyright © 2013. Students Friend - All Rights Reserved
Website maintained by Ankit Jain And Akhil Dadhich
Proudly powered by WWS INDIA