0

Guys I am not getting that how to solve lesson 11 can you help

25th Jun 2022, 4:46 PM
Kk Legend
Kk Legend - avatar
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.
26th Jun 2022, 2:39 AM
Chris Coder
Chris Coder - avatar
+ 4
In which language C C++ C# Java PHP Ruby Python Swift .. .. ?
25th Jun 2022, 4:57 PM
A͢J
A͢J - avatar
+ 4
Please tell the us the programming language, describe the issue you are having and show your attempt.
25th Jun 2022, 6:29 PM
Chris Coder
Chris Coder - avatar
+ 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.
26th Jun 2022, 2:12 AM
BroFar
BroFar - avatar