- 1

Someone help me with this? It's a C++ problem.

You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waiting in the bus station as input, you need to calculate and output how many empty seats the last bus will have.

30th May 2021, 12:05 AM
Kimberly Cabrera
3 Answers
+ 1
Your attempt
30th May 2021, 1:53 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Kimberly Cabrera I think this is a problem of 'transport' project in c ++ module Take time and try to solve it by yourself Btw here s a hint 1.Take input 2. calculate remainder and store it in variable 3. then subtract it(result of step 2) from 50
30th May 2021, 2:10 AM
Bot
Bot - avatar
+ 1
Hint "%"
30th May 2021, 3:26 AM
Eashan Morajkar
Eashan Morajkar - avatar