wap to check whether numerator and denominator and check it is divisible or not
Answers
Answered by
0
Answer:
#include<iostream>
int main()
{
int num, den;
cout << "Enter the numerator and denominator : ";
cin >> num >> den;
if (first % second == 0)
cout << "numerator " << num
<< " is divisible by denominator "
<< den;
else
cout << "numerator " << num
<< " is not divisible by denominator "
<< den;
}
i hope this helped you so plz rate accordingly..
Similar questions