The INT function returns the integer part of a specified number.
Rnd is used to return psuedo-random values. These values may look random but because they use complex mathematical formulas they technically aren't random as they are still predictable.
Each time the program is run the psuedo-random values returned by Rnd are always the same. To overcome this you use randomize to initialise VB's random number generator. To avoid generating the same sequence of psuedo-random values you call randomize before you call Rnd.
To change the different values it can choose from you change the highest and lowest values. In the following code the highest is 10 and the lowest is 1. This means that it can choose a value between 1 and 10. You put it after: Handles Button1.Click



