Sagot :
Visual Basic has three main types of loops: for.. next loops, do loops and while loops.
For example, when you are displaying number from 1 to 100 you may want set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration.