Quotient and remainder

In division with remainder, the first number is not exactly divisible by the second number. This is because the divisor (the second number) is not a divisor of the dividend (the first number). The dividend is not a multiple of the divisor. Therefore, a remainder remains, which is smaller than the divisor, by which it is divided.

#include <iostream>
using namespace std;

int main () {
    int dividend, divisor, quotient, remainder;

    cout << "Please enter dividend: " << endl;
    cin >> dividend;
    cout << "Please enter divisor: " << endl;
    cin >> divisor;

    quotient = dividend / divisor;
    remainder = dividend % divisor;

    cout << "Quotient is: " << quotient << endl;
    cout << "Remainder is: " << remainder;
    return 0;
Please enter dividend: 75
Please enter divisor: 8
Quotient is: 9
Remainder is: 3