Objectives :

  • myforloop1
  • For-lop (When, condition is true) is very similar to While (condition is true, continue).
    • Choose for when you know how many round you need to loop.
    • Use while loop when your priority rests on the condition, than revolutions.
    • Both for and while can do similar tasks
    • In do-while loop, cursor will enter the loop at least once.
    • also see : compare_for_while_loop1.htm

Step: 1 Create a source file.


Step: 2 Save  source file

Step: 3 Edit Source file

Step: 4 Runtime Views: