A program that read two integer & display remainder in Cpp.

#include<stdio.h>
#include<conio.h>
#include<iostream.h>

void main()
{
    int x,y,r;
    clrscr();
    cout<<"Enter first number x= : ";
    cin>>x;
   
    cout<<"\nEnter second number y= : ";
    cin>>y;

    r=x%y;
   
    cout<<"\nMod(x%y) = "<<r;
    getch();
}


////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........