loop the whole program without loop ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

loop the whole program without loop ?

so i want to loop my whole program without the loop variable , is there anyway that my program can automatically restard from the beginning after the process has been exited from CMD ? without any confirmation , a never ending loop.

17th Apr 2018, 8:23 PM
Dichonia
Dichonia - avatar
5 Answers
+ 1
you can use go-to statment
17th Apr 2018, 9:22 PM
$ยข๐Žโ‚น๐”ญ!๐จ๐“
$ยข๐Žโ‚น๐”ญ!๐จ๐“ - avatar
+ 1
can the go-to statment be infinite ?
17th Apr 2018, 9:23 PM
Dichonia
Dichonia - avatar
+ 1
goto statment works just fine ! thank you !
17th Apr 2018, 9:35 PM
Dichonia
Dichonia - avatar
0
yes
17th Apr 2018, 9:35 PM
$ยข๐Žโ‚น๐”ญ!๐จ๐“
$ยข๐Žโ‚น๐”ญ!๐จ๐“ - avatar
0
Dichonia wel come
17th Apr 2018, 9:49 PM
$ยข๐Žโ‚น๐”ญ!๐จ๐“
$ยข๐Žโ‚น๐”ญ!๐จ๐“ - avatar