Sign In | Subscribe

Enter your Sign on user name and password.

Forgot password?
  • Follow us on:
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Visual Basic
  • Discussion

  • Study Guides

  • Table of Contents

Lecture Comments (1)

0 answers

Post by Ru Chigoba on March 14, 2017

Hi, the exercise files are blank. Could you please fix that

Iterations & Looping

  • For…Next…Step loops allow you to iterate through a predefined loop of values
  • For…Each loops are used when you don’t know how many iterations you need
  • Do…While and Do…Until loops need three things:
    • A loop control variable
    • A comparison to a sentinel value
    • An exit to the loop
  • If there is no way of ending the loop, it is an infinite loop
  • Do…While checks the loop control variable first, Do…Until checks after at least one iteration of the loop