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.

import java.util.Scanner;

class QuotientReminder {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);

		int dividend, divisor, quotient, remainder;

		System.out.print("Please enter dividend: ");
		dividend = reader.nextInt();
		System.out.print("Please enter divisor: ");
		divisor = reader.nextInt();
		quotient = dividend / divisor;
		remainder = dividend % divisor;
		System.out.println("Quotient is: " + quotient);
		System.out.print("Remainder is: " + remainder);
Please enter dividend: 118
Please enter divisor: 12
Quotient is: 9
Remainder is: 10