+ 1
Can we convert for loop to if else statment in any programming languages?
2 Answers
+ 2
No, you cannot convert for loop to if - else
you can conver for to while loop
+ 1
You can remove the loop and repeat the code many times but no one in their right mind would do it.