Module Module1 Sub Main() Dim TestScore As Integer = 80 If TestScore >= 90 Then Console.WriteLine("Test grade: A") ElseIf TestScore >= 80 Then Console.WriteLine("Test grade: B") ElseIf TestScore >= 70 Then Console.WriteLine("Test grade: C") Else Console.WriteLine("Test grade: F") End If End Sub End Module
Test grade: B