Question: C language program Code and results Not c++ language program Below is the stock layout coordinate proposed by Wellwart Supermart. You are requested to design

 C language program Code and results Not c++ language program Below

C language program Code and results

Not c++ language program

Below is the stock layout coordinate proposed by Wellwart Supermart. You are requested to design a checkout system for the supermart. Inputs are the column and row coordinate, required quantity. Outputs are the item name, availability stocks, price per unit, and total price during checkout. If the inserted quantity is more than available quantity, massage "not enough stock, please select again the quantity". Black sugar Coordinate [1] [2] [3] [4] [5] [A] *Maggi mee Cintanmee Sardin Mee hoon Kueh teow Qty:19 Qty:20 Qty:5 Qty:3 Qty: 1 RM:4.50 RM:3.50 RM:4.50 RM:4.50 RM:4.50 [B] Lemon juice ** Milo Horlicks Vicco **Coffee Qty:20 Qty:12 Qty:2 Qty:8 Qty:5 RM:2.50 RM:11.50 RM:14.50 RM:12.50 RM:10.50 [C] Chocolate *White Ginger Chilli powder powder Sugar Qty:19 powder Qty:8 Qty:10 Qty:18 RM:4.50 Qty:20 RM:6.50 RM:9.50 RM:4.50 RM:5.50 [D] ** Crab Prawn *Squid Scallop Fishball Qty:12 Qty: 0 Qty:11 Qty:2 Qty:16 RM:9.50 RM:18.90 RM:4.50 RM:12 RM:5.50 [E] Potato Garlic Sawi Carrot *Mushroom Qty:10 Qty:5 Qty:4 Qty: 1 Qty:12 RM:3.50 RM:6.50 RM:2.80 RM:1.50 RM:6.50 Note: If you are Wellmart supermarket registered member, you will get 10% (*) & 5%(**) discount for selected item

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!