0
Guys I am not getting that how to solve lesson 11 can you help
5 Answers
+ 5
BroFar Hey thanks I assumed it was about c++ since that was the only course they have progress in, but I was waiting for them to provide their info and attempt.
+ 4
In which language
C
C++
C#
Java
PHP
Ruby
Python
Swift
..
..
?
+ 4
Please tell the us the programming language, describe the issue you are having and show your attempt.
+ 4
Kk Legend please use the searchbar before asking as there are numerous threads related which may make it easier for you to solve.
https://www.sololearn.com/discuss/2603015/?ref=app
https://www.sololearn.com/discuss/2607271/?ref=app
https://www.sololearn.com/discuss/2615684/?ref=app
https://www.sololearn.com/discuss/2613345/?ref=app
https://www.sololearn.com/discuss/2649903/?ref=app
https://www.sololearn.com/discuss/2752579/?ref=app
https://www.sololearn.com/discuss/2600494/?ref=app
https://www.sololearn.com/discuss/2995520/?ref=app
https://www.sololearn.com/discuss/2607400/?ref=app
https://www.sololearn.com/discuss/2797112/?ref=app
https://www.sololearn.com/discuss/2727130/?ref=app
https://www.sololearn.com/discuss/2806226/?ref=app
https://www.sololearn.com/discuss/2702483/?ref=app
https://www.sololearn.com/discuss/2598492/?ref=app
https://www.sololearn.com/discuss/2665207/?ref=app
+ 2
Kk Legend
A͢J end of module project
bus transportation .. c++
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
Explanation: The first bus will transport 50 passengers, leaving 126-50=76 in the station. The next one will leave 26 in the station, thus, the last bus will take all of the 26 passengers, having 50-26=24 seats left empty.