- 2

Problem Solving

Pls who can solve 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

29th Dec 2021, 7:36 PM
Habeeb Abdulwaheed
Habeeb Abdulwaheed - avatar
3 Respuestas
+ 1
Yes i had solved it but it is still giving me problem
3rd Jan 2022, 1:01 AM
Habeeb Abdulwaheed
Habeeb Abdulwaheed - avatar
I can solve it! but first try it yourself!
29th Dec 2021, 8:00 PM
CGM - avatar
Habeeb Abdulwaheed did you solve it?
1st Jan 2022, 11:03 AM
shlee_ - avatar