Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C program (not C++) DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%) Below is the stock

C program (not C++)

image text in transcribed

DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%) 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". 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 Black sugar 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions