Question: The assignment: Your ultimate goal for this assignment is to write a MATLAB program that simulates a cash register that rings up prices at a
The assignment: Your ultimate goal for this assignment is to write a MATLAB program that simulates a cash register that rings up prices at a grocery store. Your program should do the following: 1. For each item, ask the cashier to enter the following information a. 6 digit Stock Keeping Unit (SKU) number b. Unit price c. Quantity 2. Ask the cashier to indicate when there are no more items 3. Compute the sum total cost a. Individual cost unit price x quantity b. Total cost-sum of all individual costs 4. Display the total cost as an output sentence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
