+ 1

Hovercraft Swift Challenge

https://code.sololearn.com/c70VsMuObx4v/?ref=app Attached is my code for the challenge where I pass a couple test, but never all of them. Would anyone be able to help? Thank you

14th Jul 2021, 6:43 PM
Steven
5 Respostas
+ 1
You need to get the amount of customers as user input, you can't just hardcode 5 into the program.
14th Jul 2021, 8:16 PM
inxanedev!
inxanedev! - avatar
0
you already have posted a similar thread for the same task few hours before: https://www.sololearn.com/Discuss/2836084/?ref=app avoid posting duplicate threads ^^
14th Jul 2021, 11:10 PM
visph
visph - avatar
0
inxanedev! The readLine() function doesnt work either
14th Jul 2021, 11:17 PM
Steven
0
visph your answer fails to answer the question. Please avoid answering questions if you dont provide a solituon to a question.
14th Jul 2021, 11:19 PM
Steven
0
visph you are currently failing to help me and downvoted my questions. We need poeple in the community that are willing to help.
14th Jul 2021, 11:28 PM
Steven