Loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Loop

How can I loop the whole console while I give the user the option to quit when the program is done.

23rd Apr 2023, 3:27 PM
Thapelo Molefe
Thapelo Molefe - avatar
4 Answers
+ 9
Thapelo Molefe you tag two programming language, you learn c# and Java what you want, you can learn from sololearn and you can easily understand
23rd Apr 2023, 4:35 PM
Sakshi
Sakshi - avatar
+ 6
In case you are trying this on sololearn playground, note that you have to submit all input in the beginning of the program as it is not an interactive environment.
23rd Apr 2023, 4:51 PM
Lisa
Lisa - avatar
0
I had a loop in my program already so it was nested in the wrong way. Thank you all got the answers.
24th Apr 2023, 9:02 PM
Thapelo Molefe
Thapelo Molefe - avatar
0
For*
24th Apr 2023, 9:02 PM
Thapelo Molefe
Thapelo Molefe - avatar