Subtraction of two numbers in C++ Program
#include<iostream.h> #include<conio.h> void main() { int a,b; clrscr(); cout<<"\nEnter two numbers:-"; cin>>a>>b; int sub=a-b; cout<<"Sutractin="<<sub; getch(); }Output:-
Related Programs;
- Modulus division of two numbers in C++ Program
- Multiplication of two numbers in C++ Program
- Division of two numbers in C++ Program
0 Comments