+ 1

Guys i need 11 code projects answer it says its wrong 😑🙁

31st Jan 2022, 4:05 PM
Maryam Mahery
2 Respuestas
+ 4
"Hint: The modulo operator % can help to determine the number of passengers for the last bus." The rest is intuitive, you subtract the number of passengers from the capacity of the bus and that's it.
31st Jan 2022, 4:24 PM
CGM
CGM - avatar
+ 1
Don't forget that modulo might give you zero if the bus is exactly full....
31st Jan 2022, 7:47 PM
HungryTradie
HungryTradie - avatar