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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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