1#include <iostream>
2using namespace std;
3
4int main()
5{
6 int divisor, dividend, quotient, remainder;
7
8 cout << "Enter dividend: ";
9 cin >> dividend;
10
11 cout << "Enter divisor: ";
12 cin >> divisor;
13
14 quotient = dividend / divisor;
15 remainder = dividend % divisor;
16
17 cout << "Quotient = " << quotient << endl;
18 cout << "Remainder = " << remainder;
19
20 return 0;
21}