MIS 505 wk 2 Homework.docx - Maxx Henderson Week 2 Homework...

This preview shows page 1 - 2 out of 4 pages.

Maxx Henderson Week 2 Homework November 1, 2017 Prof. Missakian Chapter 2, p. 88, Logic Exercise #5-a Required: Data Dictionary, Hierarchy Chart, Flowchart, and Pseudocode Draw the 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 item's 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 a wholesale price. The detail 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”. a) Data Dictionary: Input Variable Name Data Type Description wholesalePrice Number This is the price paid by the company.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture