Imports System
Public Module Module1
Public Sub Main()
Console.Writeline("How many hours of sleep did you get last night?") 'writeline displays the following
Dim hours_sleep as decimal = Console.Readline() 'variable dim_hours is set to the user input, with the data type of the input being named.
if hours_sleep <7 Then 'Compares recommended hours of sleep with user input. After a if statement, then is used and unlike python there is no semi-colon after the condition
Console.Writeline("Sleep more!")
else
Console.Writeline("That's a good amount of sleep.")
End if
End Sub
End Module