Draw a hierarchy chart and then plan the logic for a program

Assignment Help Data Structure & Algorithms
Reference no: EM13711547

Question:

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 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 the retail price, computes the profit, and displays the result. The end-of-job module displays the message "Thanks for using this program".

Reference no: EM13711547

Questions Cloud

Determine the velocity of the air at the inlet : At steady state, air at 200 kPa, 325 K, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. The inlet cross-sectional area is 6 cm 2 . At the duct exit, the pressure of the air is 100 kPa and..
Streams of cold and warm air are mixed to get air : In air-conditioning systems, streams of cold and warm air are mixed to get air with the right temperature. Consider a mixing chamber into which cold air enters at 8 degree C and 100 kPa at a rate of 0.55 m3/s and warm air enters at 30 degree C and 10..
Find the sum upto n terms : find the sum upto n terms of the following sequence 3+33+333+... n terms
Determine the voltage of the source : A piston-cylinder device contains 12 kg of saturated R-134a vapor at 3.2 bar. An electric source supplies 8 A current to a resistor within the cylinder for 4 minutes and there is heat transfer of 400 kJ to the system. During these energy interactions..
Draw a hierarchy chart and then plan the logic for a program : 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..
Determine the average load current : Chopper circuit has the parameters of a source frequenCy of 150 Hz and an on time of 3 ms. vohage of 90 V, chopper When this chopper drives an inductive load of 1.5 0 and 15 mH, determine the average load current.
Maximum shear stress can be adequately approximated : The maximum torque produced by the engine of the car occurs at 4750 rpm, when the engine is generating 286 HP. The designer followed the following method and chosen steel shaft having yiled stress at 80,000 psi and a factor of safety = 4.
What is the gauge pressure in the container : A rigid adiabatic container in a room with a barometric pressure of 100 kPa is divided into two unequal volumes as shown. V1 = 0.108 m3 and contains air (R = 0.2870 kJ/kg-K, k = 1.40) at a gauge pressure of 32 kPa and temperature of -3°C.
What rate is heat rejected from this engine as waste heat : An engine burns 200 cubic feet per hour of natural gas with a heating value of 1000 btu/cubic feet. The engine produces 39.1 horsepower for this test. What is the average efficiency for this test? At what rate (btu/h) is heat rejected from this engin..

Reviews

Write a Review

 

Data Structure & Algorithms Questions & Answers

  Design the logic for a program

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.

  Question about arrays, vector and stl

Suppose if x denotes the mean of a sequence of numbers x1, x2,.....xn, variance is the average of the squares of the deviations of numbers from the mean.

  Find the minimum cost path from a designated start node to

find the minimum cost path from a designated start node to a designated destination node in a graph.assumptions bull

  Representation of linked list

The table given below gives portion of a linked list. Every list entry spans two consecutive address locations the 1st contains a letter of the alphabet, and 2nd contains a pointer to the next list entry.

  Write an algorithm for stack using array

Write an algorithm for stack using array performing the operations as insertion, deletion, display, isempty, isfull.

  Creating an access database

PLUS is a corporation that makes all types of visual aids for judicial proceedings. Customers are usually private law firms, although the District Attorney's office has occasionally contracted for its services.

  Dhcp server at each network segment

Discuss the drawbacks and benefits of having a DHCP server on each network section, versus having some of the network sectionsreceive their IP address and network configuration via a router using a DHCP relay agent?

  Discuss and define normalization

Discuss and define normalization and what are the basic steps of the normalization process?

  Compare the average behavior of insertion sort

Compare the average behavior of insertion sort for n elements with that of the n insertions into an initially-empty straight array implementation of a priority queue

  Define wan and provide an example of typical wan setup

Define a WAN and provide an example of a typical WAN setup and describe the components. Provide a picture, chart, or image if possible.

  Algorithm to minimize average difference between height

The problem is to assign each skier a ski to minimize the average difference between height of a skier and his/her ski. Give pseudocode and write its asymptotic running time.

  Suppose you develop an algorithm that processes the first

consider searching algorithms on the following array of data 22 21 9 4 16 2 10 14 20 31 26 19 17 28 8 13 suppose you

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd