0

You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waitin

Please help me solve it in c++ I'm a bit confused

18th Dec 2020, 4:25 PM
Paul Nyarkoh Kobina
Paul Nyarkoh Kobina - avatar
3 ответов
+ 1
Say you have 45 passengers and 10 waiting You would do Passengers + waiting - capacity Which will leave you 5 waiting it's pretty simple with some if statements.
18th Dec 2020, 4:38 PM
D_Stark
D_Stark - avatar