Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROJECT Taif coffee shop wants to open three branches at Taif University at the following locations: Al-Hawiya, Al Faisaliah and Qarua. The coffee shop manager

image text in transcribed
image text in transcribed
image text in transcribed
PROJECT Taif coffee shop wants to open three branches at Taif University at the following locations: Al-Hawiya, Al Faisaliah and Qarua. The coffee shop manager needs to computerize orders to generate reports at the end of each month. He requests you to write a C++ program to input ordered data and generate monthly report. The manger asks you to display the monthly report in a tabular form with all orders names in alphabetical order. The report should display each order name with its ordered quantity by each and ordered quantity by all branches. At the end of the report, he wants you to print the popular order and the popular branch. To simplify the testing, your program can manage six order types but you can easily increase the number of order types. Therefore, you will need an array of string called orderName [No oF ORDER], where NO OF ORDER is a constant variable. SAMPLE Your program should display the report in the following form: Monthly Report of Taif coffee shop- Order Branches Al-Hawiya Name Al Faisaliah Quantity Coffee 400 300 200 900 Crepe 600 400 200 1200 Croissant 500 350 1000 ughnut. 350 300 120 770 Sandwich 200 190 190 580 300 250 770 Popular order: crepe, Total ordered Quantity: 1200 orders Popular Branch: Al-Hawiya, Total orderd Quantity: 2350 orders

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 Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago