Pages

Sunday, 22 July 2012

Adding Numbers


#include <stdio.h>
#include <conio.h>

void main()
{
   int a,b,c;

   printf("Enter two integer to add numbers :\n");
   scanf("%d%d", &a,&b);

   c = a + b;
   printf("Sum of %d + %d = %d\n", a, b, c);

   getch();
}

0 comments:

Post a Comment