You are on page 1of 7

Start

Prompt and Get in

Display Goodbye

Other

Display Please enter either 1 or 2 for this option

exit

End

Start Sta Start Prompt for lbs

Get for lbs

Lbs< 100,000

Display

Lbs> 870,000

Display

End

Start

Stdcon= 1000

Btmline= min

Rstfuel= (lbs/btmline)*stdcon

hrrate= estfuel

totalrate= hrrate*ahq.travel_time[timeline]

End

Start

Display ahq.travel_time[timeline]

Display hrrate

Display totalrate

End

Start

ctr= 0 ctr ++ No ctr< 4

Yes Display ahq.airport[ctr] and ahq.place[ctr]

End

Start

Prompt and Get for ahq.airport[b]

b<1 or b>4

Display Choice does not exist

Prompt and Get for ahq.airport[c]

T t

c<1 or c>4

Display choice does not exist

T t

c == b

Display You cannot fly anywhere with both same location

fuel_

End

Start

home= a

timeline= a

dest= b

Display ahq.airport[a]

Display ahq.airport[b]

End

You might also like