7.7k views
2 votes
In the Visual Basic program language: show how you would prompt a user to enter a value for an integer variable called age.

User Commanda
by
6.4k points

1 Answer

3 votes

Answer:

It would be helpful for you.

Step-by-step explanation:

Module Module1

Sub Main()

' Read value.

Dim age As Integer = Console.ReadLine()

' Write the value.

Console.WriteLine("User typed age is " + age )

End Sub

End Module

User Cody Poll
by
7.0k points