Convert infinite for loop to infinite while loop or vice versa.
Answers
Answered by
2
Answer:
You can always convert a for loop to a while loop. You can always convert a while loop to a for loop. ... The elements inside the for loop control are separated using semicolons instead of commas. You can always convert a switch statement to an equivalent if statement.
Similar questions