Write a program that tell remainder and Qoutient

include<iostream>

using namespace std;

int main()

{ int a = 20, b = 4;

cout << "Quotient = " << a / b << endl;

cout << "Remainder = "<< a % b << endl;

return 0;



}

 

 


Ø Output of Program




No comments:

Post a Comment

Total Pageviews