Back To C++ Basic Index
//program to input two numbers and find the difference between them #include
#include
void main() { int a,b; int diff; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; diff=a-b; cout<<"difference between a and b is "<