Problem Solving | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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 Answers
+ 1
Yes i had solved it but it is still giving me problem
3rd Jan 2022, 1:01 AM
Habeeb Abdulwaheed
Habeeb Abdulwaheed - avatar
0
I can solve it! but first try it yourself!
29th Dec 2021, 8:00 PM
CGM
CGM - avatar
0
Habeeb Abdulwaheed did you solve it?
1st Jan 2022, 11:03 AM
shlee_
shlee_ - avatar