dim Time, Passengers, Mileage, PassengerPrice, MileagePrice, TimePrice, TotalPrice as Integer
dim FirstMile as integer = 3
dim ExtraPassengers as integer = 2
dim ExtraMiles as integer = 2
console.writeline("Input the time of travel:")
Time = console.Readline()
console.write("Input the amount of passengers:")
Passengers = console.Readline()
console.writeline("Input the Mileage:")
Mileage = console.readline()
ExtraPassengers = Passengers - 4
PassengerPrice = ExtraPassengers * 2
MileagePrice = (ExtraMiles * 2) + 3
Timeprice = Totalprice * 2
TotalPrice = PassengerPrice + MileagePrice + TimePrice
Console.WriteLine("Your journey is going to cost: " & "£" & TotalPrice)