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
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.