KodeGod.com

002. Write a program to accept values of two numbers and print their addition

#include<stdio.h>
#include<conio.h> 
main()
{
 int a,b,c;
 clrscr();
 printf("Enter number 1: ");
 scanf("%d",&a);
 printf("Enter number 2: ");
 scanf("%d",&b);
 c=a+b;
 printf("Addition is   : %d",c);
 getch();
}