The cost of one small cup is 175 one medium cup is 190 and


Write a program using the following information:

Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9oz), medium (12oz), and large (15oz). The cost of one small cup is $1.75, one medium cup is $1.90, and one large cup is $2.00. Write a menu-driven program that will make the coffee shop operational.

Your program should allow the user to do the following:

a. Buy coffee in any size and in any number of cups.
b. At any time show the total number of cups of each size sold.
c. At any time show the total amount of coffee sold.
d. At any time show the total money made.

Your program should consist of at least the following functions: a function to show the user how to use the program, a function to sell coffee, a function to show the number of cups of each size sold, a function to show the total amount of coffee sold, and a function to show the total money made. Your program should not use any global variables and special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.

Please submit each lab assignment with only two files for grading.

a .docx file of its program's successful execution output in Word format
a .cpp file of your C++ program design (source code)

Each .cpp source code should include a header documentation and some block documentation. Please see my sample .cpp file under Additional Resources at Student Center. Do not omit embedded block documentation. This is a part of grading component.
An example for header documentation: (stated in Class Information document)

// Author: Gerry Adams

// Assignment: Lab 3 - P2.3

// Program Title: Arithmetic Operations

// Program Description: The program prompts the user for two integers, and the calculatetheir sum, difference, product, average, distance, maximum, and minimum.

// Compiler Used: Microsoft Visual C++

// Completion Date: July 1, 2016

1. Do not include unnecessary header files such as . Arithmetic operations such as +, -, *, / do not require header file.

2. To pause an execution for viewing, you may use system ("PAUSE");

3. If you use the statement: using namespace std; at the beginning of your program, you need not to include std:: with cin and cout.

4. Be aware of using proper code indentation. The purpose of good indentation is for easy reading and debugging, thus speeding up maintenance work.

Solution Preview :

Prepared by a verified Expert
Programming Languages: The cost of one small cup is 175 one medium cup is 190 and
Reference No:- TGS01670046

Now Priced at $30 (50% Discount)

Recommended (94%)

Rated (4.6/5)