adsense

Hii, welcome to my site. My name is Om prakash kartik. This blog helps you to learn programming languages concepts.

Subtraction of two numbers in C++ Program

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;
  1. Modulus division of two numbers in C++ Program
  2. Multiplication of two numbers in C++ Program
  3. Division of two numbers in C++ Program

Post a Comment

0 Comments