0

What should i do with this?

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. Sample Input: 126 Sample Output: 24

5th Aug 2022, 11:26 PM
AJI SEPTIAWAN HARTONO
AJI SEPTIAWAN HARTONO - avatar
2 Answers
+ 4
cout << 50-126%50; // tip
6th Aug 2022, 1:44 AM
SoloProg
SoloProg - avatar
+ 2
Thank you very much
6th Aug 2022, 3:02 AM
AJI SEPTIAWAN HARTONO
AJI SEPTIAWAN HARTONO - avatar