0

How can I get this code to start back at the beginning after a calculation has been made?

Trying to make the calculator start back at the beginning after the first calculation has been made. Any help would be appreciated. https://code.sololearn.com/cQLYb76uSbzU

17th Feb 2020, 3:27 PM
Haze
3 Answers
+ 2
This code will do. You had some errors that are fixed. Give the value between 1 to 4 to stay inside the loop. If the value is not in range then it will break. Run this on your system. https://code.sololearn.com/c09K0CY7PRP2/?ref=app
17th Feb 2020, 3:53 PM
Avinesh
Avinesh - avatar
+ 1
You can't do that in SoloLearn code playground. Because the compilation occurs at the server and all input must be input before code is compiled. Except for web code. You can do it in your computer with an infinite while loop.
17th Feb 2020, 3:41 PM
Gordon
Gordon - avatar
0
thank you! very helpful, got it fixed
17th Feb 2020, 3:48 PM
Haze