+ 1

E-hailing system

I had build a code to calculate the income of e-hailing driver. Howecer i had face some problems related to the user error input, which the error input message that are supposed to showup when the user entered wrong input doesn't shows up sometimes. And i have no idea how can i do to return back and let the user to enter again if they had entered an wrong input? https://code.sololearn.com/cS2Zc6sajHlD/?ref=app

17th Oct 2019, 4:05 PM
Lee Jo Sheng
Lee Jo Sheng - avatar
2 ответов
+ 2
you mean something like this??? https://code.sololearn.com/cIUxKqfTRwOb/?ref=app
17th Oct 2019, 6:33 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
i tried that, it will print the statement infinitely
18th Oct 2019, 12:35 PM
Lee Jo Sheng
Lee Jo Sheng - avatar