Modulus 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 md=a%b; cout<<"Modulus="<<md; getch(); }
Hi, welcome to my website Programming.OM. My name is Om prakash kartik. This blog helps you to learn programming languages concepts and technique.
#include<iostream.h> #include<conio.h> void main() { int a,b; clrscr(); cout<<"\nEnter two numbers:-"; cin>>a>>b; int md=a%b; cout<<"Modulus="<<md; getch(); }
0 Comments