What is the difference between the FOR loop and WHILE loop?

      

Distinguish between the FOR loop and WHILE loop.

  

Answers


Maurice
The FOR loop is used to perform a specified number of repetitions of program execution but the WHILE loop is a control structure which executes program statements so long as the condition is still true.
maurice.mutuku answered the question on April 21, 2018 at 12:16


Next: How can you write down a pseudocode that takes two numbers and display the division results of two numbers whereby the first number is the...
Previous: What is the difference between repeat until loop and while loop?

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions