adsense

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

Division of two numbers in C++ Program

Division 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 div=a/b;
  cout<<"Division="<<div;
  getch();
  }
Output:- 

Related Programs:


  1. Addition of two numbers in C++ Program
  2. Subtraction of two numbers in C++ Program
  3. Multiplication of two numbers in C++ Program
  4. Modulus division of two numbers in C++ Program

Post a Comment

0 Comments