Draw the hierarchy chart and design the logic for a program


Question: Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas. Design a program that prompts the user for a number of miles driven and a current cost per gallon. The program computes and displays the cost of the trip as well as the cost of gas prices rise by 10 percent. The program accepts data continuously until 0 is entered for the number of miles. Use appropriate modules, including one that displays End of program when the program is finished.

Please show me all the work and provide me the hierarchy chart.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Draw the hierarchy chart and design the logic for a program
Reference No:- TGS0944317

Expected delivery within 24 Hours