Sales manager of the henry used car dealership


Draw the hierarchy chart and then plan the logic for a program needed by the sales manager of the henry used Car dealership. the program determine the profit on any car sold. input includes the sales price and actual purchase price for a car. the output is the profit, which is the sale price minus the purchase price. Use three modules. the main program declares global variables and calls housekeeping, details and end-of- job modules. the housekeeping module prompts for and accepts a sale price. the detail module prompts for and accepts the purchase price computes the profit, and displays the result. the end-of-job modules displays the message. 

Revise the profit-determining program so that it runs continuously for any number of cars. the detail loop executes continuously while the sale price is not O; in addition to calculating the profit, it prompts the user for and gets the next sale price. The end-of-job module executes after O is entered for the sale price.

Required minimum 1-3 page

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Sales manager of the henry used car dealership
Reference No:- TGS080358

Expected delivery within 24 Hours