While using nested loops, which loop will be stoped when using the break statement?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

While using nested loops, which loop will be stoped when using the break statement??

16th May 2017, 6:58 AM
CRYPTONaXE
CRYPTONaXE - avatar
2 ответов
+ 5
Just remember, while you can nest as many WHILE or FOR loops, your code will be executed much faster if you use SWITCH CASE instead. The reason is simply they way the processor handles those loops.
16th May 2017, 8:44 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
+ 2
current loop
16th May 2017, 7:10 AM
Calviղ
Calviղ - avatar