The school trip bus
95 pupils are going on a trip in buses with 40 seats. A classmate wrote this program and says 2 buses are needed. Is that right? If not, fix it.
Algorithm Buses
Write "Buses: ", 95 Div 40;
EndAlgorithmHint 1
Do a worked example: how many pupils fit in 2 buses?
Hint 2
div is another way of dividing. Find out what it does with what is left over in the Specification.
Hint 3
Compare with the last line of the party: there were people left over there too.
Hint 4
The fixed line is Write "Buses: ", ceil(95 / 40);, which shows 3. Close with the variant.

