Question
Your company sells the following 5 products: Product 1 = $1.00, Product 2 = $2.00, Product 3 = $3.00, Product 4 = $4.00, Product 5
Your company sells the following 5 products: Product 1 = $1.00, Product 2 = $2.00, Product 3 = $3.00, Product 4 = $4.00, Product 5 = $5.00 Write a script that has the user enter in the product number and then the quantity ordered. The same product can be ordered multiple times. Use a switch to help determine the total retail value of each product sold. Use a sentinel loop to display the final results. The final results should show the product number, cost/product number, total quantity ordered/product number, total cost/product number and at the bottom show the total cost for all of the products combined.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started