Sie sind auf Seite 1von 1

Module Module1

Sub main()
Dim h, w As Integer
Console.Write("Hours of Working: ")
h = CInt(Console.ReadLine())
If h < 40 Then
Console.WriteLine("No vacation is allowed")
ElseIf h >= 40 Then
w = h / 40
Console.WriteLine("Vacation will be " + w.ToString())
End If
Console.ReadLine()
End Sub
End Module

Das könnte Ihnen auch gefallen