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






#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 Subtraction is %d",c);
getch();
}