Sunday, 22 July 2012
Adding Numbers
00:23
10 comments
#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();
}
Subscribe to:
Posts (Atom)