Write menu driven program that make coffee shop operational

Assignment Help Programming Languages
Reference no: EM13805854

Jason has opened a coffee shop at the beach and sells coffee in three sizes: small (9oz) medium (12oz) and large (15oz). Small cost is $1.75 medium costs $1.90 and large costs $2.00. Write a menu driven program that will make the coffee shop operational. The program should allow the user to do the following:

1. buy coffee in any size and any number of cups.

2. at any time show the total number of cups of coffee of each size sold.

3. At any time show the total amount of coffee sold.

4. at any time show the total amount of money made.

The program should at the least:

1. a function to show the user how to use the program.

2. a function to sell coffee.

3. a function to show the number of cups of each size sold.

4. a function to show the total amount of coffee sold.

5. a function to show the total amount of money made.

Reference no: EM13805854

Questions Cloud

Treasury STRIPS-What is the yield to maturity : A Treasury STRIPS is quoted at 68.533 and has 4 years until maturity. What is the yield to maturity?
Determine the benefits of data mining to the businesses : Determine the benefits of data mining to the businesses when employing: Predictive analytics to understand the behavior of customers
If the market index increased : If the market index increased by 10.3% during a period,a stock with beta of 1.8 would be expected to ( increase or decrease) --------% during this same period ignore the risk free rate in calculating your answer
Suspected of having a hazardous chemical spill : How do we assess the situation prior to entering a plant suspected of having a hazardous chemical spill? What are some of the safeguards used by both first responders and those responsible for the recovery phase of response?
Write menu driven program that make coffee shop operational : Jason has opened a coffee shop at the beach and sells coffee in three sizes: small (9oz) medium (12oz) and large (15oz). Small cost is $1.75 medium costs $1.90 and large costs $2.00. Write a menu driven program that will make the coffee shop opera..
Marie sat quietly in the back of the class feeling relaxed : Marie sat quietly in the back of the class feeling relaxed, even though this was her first college class. "Here goes; this is the beginning of my future," she excitedly thought. As the teacher walked to the front of the room, Marie suddenly felt dizz..
NPV under most optimistic projection of annual savings : If a better motor fluid is used, the capital cost will increase by 350, but fluid losses will be reduced through the 30 year life of the project. The optimistic, most likely, and pessimistic projections are 35, 30 and 23. All estimates are inflation ..
Discuss the effect on the assessable income of the parent : Discuss whether or not the three payments are income from personal exertion. Would your answer differ if she wrote the story for her own satisfaction and only decided to sell it later?
Why is the business location important : Why is the business location important? Explain why Forecasting and Capacity Planning are essential in all businesses.

Reviews

Write a Review

 

Programming Languages Questions & Answers

  Write program to merge two files that contain polynomials

Write a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order.

  Write code to concatenate strings separated by space

Write a few lines of code (need not be a separate function) to: Concatenate strings a and b separated by space into a string f. Print it.

  How you take care of these missed values

For the assignment, assume that the sensed data are be generated randomly either by a random number generator in your program or read a triplet every time from a file which is pre@generated).

  Parking garage program to permit user to enter type of car

Parking garage program to permit user to enter type of car in addition to number of hours in parking garage. Program can be use for any number of customers.

  Create a crosstab query

Create a crosstab query to show how many enrollments took place in various conventions from different companies. Also show the total number of enrollments in each convention.

  How many scores they will enter

Because all users may not have 10 scores and we want to keep the scores they entered for use at a later date, the above program will have to be modified to add a menu that lets the user decide how many scores they will enter

  Complete the systems administration scripting log

Complete the Systems Administration Scripting Log, As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and any errors experienced.

  Identify at least two advantages to using oop

Use the Internet to research the advantages, features, and common examples of OOP and EDP. Note: You may use the Association for Computing Machinery (ACM) Digital Library to support research on the above topics.

  Create a console-mode executable class

Create a console-mode executable class (no GUI in this project; let's keep it simple) using the following specifications.

  Correspondence between a grammar and a type

Identity the correspondence between a grammar and a type and identify the correspondence between a grammar and a recursive-descent parser.

  Program to calculate interest on account balance

10% of total amount owed, which ever is larger. Program comprises loop which lets user repeat this computations until user says she or he is done.

  Write a web application which will give report of balance

Write a web application which will provide a report of the balance held in the visitor's account during the past several months.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd