Adding in C
A simple C program of adding USER input numbers. <br />I used Visual Studio 2008 Command Prompt. <br />The code for the program is: <br /><br />#include <br />int main(void) <br />{ <br /> int a=0,b=0; <br /> int c; <br /> printf("Enter First Number:\a"); <br /> scanf("%d",&a); <br /> printf("\nEnter Second Number:\a" ); <br /> scanf("%d",&b); <br /> c=a+b; <br /> printf("\n\aThe Sum of %d and %d is %d\n\n",a,b,c); <br /> return 0; <br />}