Imports Microsoft.VisualBasic
Dim RandomNumber As New Random
x(i) = RandomNumber.Next(1,101)
y(i) = RandomNumber.Next(1,101)
Console.WriteLine("What is the product of x({0}) and y({0})?",i)
Product = Console.Readline()
If Product = x(i)*y(i) then
Console.WriteLine("Yes, you are correct.")
Else Console.WriteLine("You are incorrect. The product is {0}.",x(i)*y(i))