' Visual Basic 2008 9.0 .NET Examples - Nested Structures - Introduction to Visual Basic : Module Example4 Sub Main() Dim baseValue As Integer = 1 Dim factor As Integer = 1 Dim multiplication As Integer ' Do While baseValue < 10 Do While factor < 10 multiplication = baseValue * factor Console.WriteLine(baseValue & " x " & factor & " = " & _ multiplication) factor = factor + 1 Loop baseValue = baseValue + 1 Loop ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.