int a, b, c, d;
cout << "Input the dividend" << endl;
cin >> a;
cout << "Input the divisor" << endl;
cin >> b;
c = a / b;
d = a % b;
cout << "The quotient is: " << c << endl;
cout << "The remainder is: "<< d << endl;