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:
- Addition of two numbers in C++ Program
- Subtraction of two numbers in C++ Program
- Multiplication of two numbers in C++ Program
- Modulus division of two numbers in C++ Program
0 Comments