38.4k views
4 votes
write a Visual Basic program that asks the user to enter a number and then displays the number than is ten times larger than the number entered.​

User Alexis MP
by
3.9k points

1 Answer

3 votes

Answer:

Module Module1

Sub Main()

Dim num As Integer

Console.WriteLine("Enter a number: ")

num = Console.ReadLine()

Console.WriteLine("The number you entered is: " & num)

Console.WriteLine("The number ten times larger than the number you entered is: " & num * 10)

Console.ReadLine()

End Sub

End Module

User Mafso
by
3.6k points