- 3
You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waitin
Who has solved this?
3 Answers
0
Thanks
0
Its a very simple algorithm. x = numofpassengers. While x is not negative, subtract 50. Return x when it is negative