How can we generate a loop using if else condition? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can we generate a loop using if else condition?

using while we generate a loop but what is the function we can use to generate a loop in if condition

1st Nov 2018, 11:46 AM
fenil
fenil - avatar
1 Answer
+ 1
Like this? BEG: if(consition) { //code goto BEG; }
1st Nov 2018, 12:07 PM
Vlad Serbu
Vlad Serbu - avatar