#B2601. Apple Distribution Problem
Apple Distribution Problem
Apple Distribution Problem
You have \(14\) apples that need to be equally distributed among \(4\) students. Any apples that cannot be evenly divided are returned to the refrigerator.
You are required to write a program that computes and outputs the following on separate lines:
- The number of apples each student receives.
- The total number of apples distributed among the students.
- The number of apples that are put back in the refrigerator.
Note: Use the \(\lfloor \cdot \rfloor\) (floor) operation if needed, as the division is integer division.
inputFormat
This problem does not require any input.
outputFormat
The program should print three numbers, each on a new line, corresponding to:
- The number of apples each student gets.
- The total number of apples distributed.
- The number of apples returned to the refrigerator.
sample
3
12
2
</p>