+ 1
What is the difference between break and exit
support your answer with a program
2 ответов
+ 3
break is halting "temporarily" your statement ,
usually in conditional If...Then...Else... and Loop...
exit(0) force closed your entire code regardless
where you put the exit code..
+ 1
It is also used in switch statement ;)