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 pseudo code to put scores until e button is hit

The program will keep on prompting you to put more scores until you hit E button on your keyboard. Write one page statement to examine this problem.

  Write down pseudo code to find sentinel value

The total of both types have to be printed at end. Suppose 50 as sentinel value. Write down Pseudo Code to perform this function.

  Write complete payroll program for a company

Now, write a complete PAYROLL program for a company in which each employee falls into one of the 3 categories - Administrative, FactoryEmployee or Salesperson.

  Give hypertext link of the internet location of program

Describe in one or two paragraphs what you observe. Give hypertext link of the internet location of the program (or applet) you found.

  Program instantiates four dates and allots invalid values

Demonstration program instantiates four Dates and purposely allots invalid values to some of arguments; class methods will correct invalid values.

  Write a program to compute the volume flow rate in cubic

write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter

  Write a recursive boolean function named ismember

Write a recursive Boolean function named isMember . The function should accept two arguments: an array and a value. The function should return true if the value is found in the array, or false if the value is not found in the array. Demonstrate t..

  Copies the content of one file into another file

write a c program that copies the contents of one file to a destination file.

  Two-dimensional array to store weekly hours for employees

Assume the weekly hours for all employees are stored in two-dimensional array. Each row records emaployee's seven-day workhours with seven columns.

  Create a class called date that includes 3 instance variable

Create a class called Date that includes 3 instance variables-a month (type int), a day (type int), and a year (type int). Provide a constructor that initializes the 3 instance variables and assumes the values provided are correct.

  Determine seperate total of positive and negative numbers

Read set of 40 positive and negative numbers entered from keyboard and determine seperate total of positive and negative numbers. How to show modular design of above statement

  Write lisp function to reverse order of the elements in list

Write a Lisp function that: given a two-element list, reverse the order of the elements in the list (cannot use the LISP reverse function).

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