+ 1

Can we convert for loop to if else statment in any programming languages?

9th Sep 2019, 10:09 PM
Virat Kodi
Virat Kodi - avatar
2 odpowiedzi
+ 2
No, you cannot convert for loop to if - else you can conver for to while loop
9th Sep 2019, 10:11 PM
Marina Vasilyova
Marina Vasilyova - avatar
+ 1
You can remove the loop and repeat the code many times but no one in their right mind would do it.
10th Sep 2019, 2:55 AM
Sonic
Sonic - avatar