Plane(1) = "2 Seater Plane"
Plane(2) = "4 Seater Plane"
Plane(3) = "Historic Plane"
Dim PlanePrices(6) as Decimal
console.writeline("Enter Plane. Choose from | " & Plane(1) & ", " & Plane(2) & ", " & Plane(3) & " |")
console.writeline("NOTE: Input must be entered exactly as written above ")
PlaneM = Console.readline()
If PlaneM = Plane(1) Then
Else If PlaneM = Plane(2) Then
Else If PlaneM = Plane(3) Then
Loop Until PlaneM = Plane(1) or PlaneM = Plane(2) or PlaneM = Plane(3)
console.writeline("Enter Flight Time, 30 or 60")
PTime = console.readline()
Loop Until Ptime = 30 or 60
PlanePrices(1) = 2 & PlanePrices(2) = 3 & PlanePrices(3) = 6
If PlanePrices(1) = 1 Then
Else If PlanePrices(1) = 2 Then
Else If PlanePrices(2) = 3 Then
Else If PlanePrices(2) = 4 Then
Else If PlanePrices(3) = 5 Then
Else If PlanePrices(3) = 6 Then
Else console.writeline("inputs done wrong.")
Console.writeline("Number of flights = " & Nflights)
console.writeline("Maximum income earnt = " & (Nflights * 100))