23rd Oct 2019, 12:49 PM
Vincent A
Vincent A - avatar
2 Answers
+ 2
You should ask for input at the first line of the while loop, so a new input is asked each time.. I think this is what your are expecting And Don t call the function inside itself. This will cause a recursion loop which is bad here.
23rd Oct 2019, 1:52 PM
Loïc Mahé
Loïc Mahé - avatar