Question

Draw flowchart AND write pseudo code Boeing 747 uses fuel at the rate of 4,776 gallons...

Draw flowchart AND write pseudo code

Boeing 747 uses fuel at the rate of 4,776 gallons per hour at cruising speed and 2600 gallons for takeoff and 1500 gallons for landing. Calculate the fuel needed for a trip. User will input the trip length in hours.

Homework Answers

Answer #1

Thanks for the question

fuel to cruise = hours in air * rate of cruising / hour

Total fuel is equal to = fuel to take off + fuel to land + fuel to cruise

========================================================================


Pseudo code will be as follows -


trip_length = INPUT('Enter trip length (in hours): ')

total_fuel = trip_length * 4776 + 2600 + 1500

OUTPUT ('Total fuel (in gallons) needed is: ', total_fuel)

========================================================================

FLOW CHART

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions