Answered You can buy a ready-made answer or pick a professional tutor to order an original one.
Draw the hierarchy chart, flow chart, and plan the logic for a program needed by the sales manager of The Henry Used Car Dealership. The program will determine the profit on any car sold. Input includ
Draw the hierarchy chart, flow chart, and plan the logic for a program needed by the sales manager of The Henry Used Car Dealership. The program will determine the profit on any car sold. Input includes the sale price and actual purchase price for a car. The output is the profit, which is the sale price minus the 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, detail, 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 module displays the message "Thanks for using this program."
- @
- 165 orders completed
- ANSWER
-
Tutor has posted answer for $40.00. See answer's preview
********* ********** *********** codeStartDeclarationsglobal num *************** *** ************************* num ******** ******* all **** *********** ********************** Detail *************** ************************* ****** ************** ModuleStartDisplay "Input **** Price:" ** PROMPTcan ** ********** SalePriceEndDetail Module *********** // ****** ModuleStartDisplay ****** ****** ******** ******* ** ********* ** ********** ************************* * SalePrice * ActualPurchasePricePrint **** ****** *** * ******************* Module ** End-Of-Job ModuleStartPrint ******* *** ***** this *************