Question: C language only.. No C++ LAB TEST 2: DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%)

C language only.. No C++
LAB TEST 2: DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%) Below is the stock layout table proposed by Parit Raja 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". Coordinate [A] [B] [C] [D] [E] [1] Mee kuning *Cintanmee Black Noodle *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 [2] 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 [3] *Chocolate Brasil Rock **Black Ginger *Chilli powder sugar sugar powder powder Qty:10 Qty:18 Qty:19 Qty:20 Qty:8 RM:9.50 RM:11.50 RM:4.50 RM:5.50 RM:6.50 [4] Crab Prawn Squid Scallop Keli Fish Qty:12 Qty: 0 Qty:11 Qty:20 Qty:10 RM:9.50 RM:18.90 RM:4.50 RM:10.50 RM:4.50 [5] **Potato Garlic **Tauhu Carrot **Mushroom Qty:10 Qty:5 Qty:20 Qty:1 Qty:12 RM:3.50 RM:6.50 RM:2.80 RM:1.50 RM:6.50 Note: 8% discount for weekday (*) & 3% discount for weekend (**) for selected item only. AMSIAIER
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
