' Visual Basic 2008 9.0 .NET Examples - Reading Input from the User - Introduction to Visual Basic : Module Exercise2Solution Sub Main() Dim name As String Dim length As Integer ' Console.WriteLine("Name ?") name = Console.ReadLine() ' Console.WriteLine("Length ?") length = Console.ReadLine() ' Console.WriteLine(name & " you're " & _ (length \ 100) & " meter and " & _ (length Mod 100) & " centimetres.") ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.