0
what happens when we use the for command once and then the while-do command again instead of while
Hi friends, I wrote this program using java but .. Exactly what happens when we use the for command once and then the while-do command again instead of while, I have seen changes, but I could not define them because I want to write notes and learn that. Please write notes about the change that is happening Knowing the code is correct, but there is a problem with Solo Learn, please help me by using another code editor. It is preferred with writing comments on the code for explanation thank you https://code.sololearn.com/c8wEgCna7SO5
3 Answers
0
do-while, while, and for are all kinds of loops. You can convert them to each by doing small changes and will see no difference.
0
No, when I use for on the same code and do while, I get errors .. Please, when you answer me, answer me by writing the complete code
Then, explain what happened because I do not know why errors appear
@CarrieForle
0
guys ,, Help :(