Anyone can help me for this,How to get the remainder?
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
double a,b,sum,difference,quotient,product,remainder;
cout<<"Enter 1st Number:";
cin>>a;
cout<<"Enter 2st Number:";
cin>>b;
sum=a+b;
difference=a-b;
quotient=a/b;
product=a*b;
Remainder=????????????????(What formula that i can input here?)
getch();
return 0;
}
Thank you,Hope you can help me guys,,,
Thank you,,,But i need the value,,Example:5/2=2 remainder 1, Do you have an Idea about this?
Thank You very much!!! :)