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
Draw flowchart AND write pseudo code You decide to write a program that figures how many...
Draw flowchart AND write pseudo code You decide to write a program that figures how many gallons of gas you will need to take a road trip. The printout should contain the total amount of miles for the trip, the miles per gallon for your vehicle, and the total gallons needed for the trip.
Draw flowchart AND write pseudo code User asks you to design a program that calculates the...
Draw flowchart AND write pseudo code User asks you to design a program that calculates the price of an item including sales tax. The program should print the total.
Draw flowchart AND write pseudo code User asks you to develop a program to calculate and...
Draw flowchart AND write pseudo code User asks you to develop a program to calculate and print weekly payroll. Calculations must take into account the following: User input ? a. Income tax rate is rate is 15% (.15*salary) b. Social Security tax is 7.65% (.0765*salary) c. Display salary, income tax, social security tax, and net pay net pay=salary-income tax – social security tax
Draw flowchart AND write pseudo code Ohm’s law state that volts (V) is Current (I) times...
Draw flowchart AND write pseudo code Ohm’s law state that volts (V) is Current (I) times resistance (R) V=I*R Calculate volts given the current and resistance for a circuit
Draw flowchart AND write pseudo code for each of the following problems. 1. User asks you...
Draw flowchart AND write pseudo code for each of the following problems. 1. User asks you to develop a program that calculates and then prints interest earned on a bank balance. Program should print interest earned for the same balance when interest is accumulated annually, semiannually and quarterly. Interest earned yearly=balance * rate /100 for annual Interest earned semiannually =balance*rate/2/100 for semi annual Interest earned quarterly= balance*rate/4/100 for quarterly
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT