adsense

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

Modulus division of two numbers in C++ program

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();
  }


Post a Comment

0 Comments