#include<iostream>
#include<cmath>
using namespace std;
int main()
{
double a, b, c;
cout << "Enter A Number : ";
cin >> a;
cout << endl;
cout << "Enter Divisor : ";
cin >> b;
cout << endl;
c = fmod(a, b);
cout << "Modules : " << c << endl;
return 0;
}
#include<cmath>
using namespace std;
int main()
{
double a, b, c;
cout << "Enter A Number : ";
cin >> a;
cout << endl;
cout << "Enter Divisor : ";
cin >> b;
cout << endl;
c = fmod(a, b);
cout << "Modules : " << c << endl;
return 0;
}
Comments
Post a Comment