Question: A computer shop will build a computer from components to meet a customer's requirements. For each request for a computer to be built, an estimate
A computer shop will build a computer from components to meet a customer's requirements. For each request for a computer to be built, an estimate of the cost is produced. The component stock level is checked; if all the components are in stock, a firm order to build the computer can be placed. The algorithm is required to work out the cost of the computer, update the stock levels and provide a daily summary of orders for the shop owner. Write an algorithm to calculate the cost of building a computer using these components. . Your program must include appropriate prompts for the entry of data. Error messages and other output need to be set out clearly and understandably. All variables, constants and other identifiers must have meaningful names Component Processor RAM Storage Screen Case USB ports Choices p3/p5/p7 16GB/32GB 1 TB/2TB 19" / 23" Mini Tower / Midi Tower 2 ports /4 ports Prices in s 100/120 / 200 75/150 50/100 65/120 40/70 10/20 The customer makes a choice for each component and an estimate is produced. The estimate must also show the total cost of the computer, which is calculated as the sum of all cost of the components chosen plus 20% tax. Use the OUBUILD to run and check your algorithm is working right, and provide screenshots for the OUBUILD code and one screenshot for the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
