0
Transportation Code Challenge
What are some other ways people have completed the Transportation Code Challenge after the first C++ module? This is what I created: https://code.sololearn.com/c18W2Am8VwC0/?ref=app
2 Respostas
+ 2
Mine is similar, plus a final adjustment so it outputs the correct number 0 when the last bus has all 50 seats filled. (They wouldn't send an empty bus with 50 available seats).
https://code.sololearn.com/cMVazP1zSebc/?ref=app
0
I never thought of using the modulus again at the end!