Question Week 2 Assignment Draw a hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold. Input includes the wholesale price and retail price for an item. The output is the items profit which is the retail price minus the wholesale 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 the retail price computes the profit and displays the result. The end-of-job module displays the message Thanks for using this program. Revise the profit-determining program so that it runs continuously for any number of items. The detail loop executes continuously while the wholesale price is not 0; in addition to calculating the profit it prompts the user for and gets the next wholesale price. The end-of-job module executes after 0 is entered for the wholesale price.
Order Similar Assignment Now!
- Our Support Staff are online 24/7
- Our Writers are available 24/7
- Most Urgent order is delivered within 4 Hrs
- 100% Original Assignment Plagiarism report can be sent to you upon request.
GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.