C++ Program. Write a program to accept two values from keyboard & display its addition.






#include<stdio.h>
#include<conio.h>
void main()
{
int a;
int b;
int c;
clrscr();
printf("\n Enter value of a");
scanf("\n %d",&a);
printf("\n Enter value of b");
scanf("\n %d",&b);
c=a+b;
printf("\n Addition is %d",c);
getch();
}