Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design an items/tickets/customer receiving system by implementing a combination of arrays and structures in a C program. Database system or data languages such as

image text in transcribed 

Design an items/tickets/customer receiving system by implementing a combination of arrays and structures in a C program. Database system or data languages such as SQL is not required. Given that structure of data is from a flower shop. The program should repetitively prompt the user for following options (use switch case to test for equality): 1. Enter the items/tickets/customers to be added into the structure. 2. Display the items for the customer, showing the price of each item, or the price paid by each customer. 3. Sell items/tickets to customers 4. Display the stock or tickets with price and cost 5. Display total sales of items/tickets 6. Exit to stop the program execution

Step by Step Solution

3.39 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

include include include define MAX 5 int top1 int stackMAX struct Item int Itemno cha... 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

13th edition

1337627909, 978-1337627900

More Books

Students also viewed these Programming questions

Question

Explain what it means for a database to be aggregate aware.

Answered: 1 week ago