Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions