Reference no: EM131317780
Assignment
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.
No global variables. Special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.
Why is it important to note method of costing exploration
: Some industries described are controlled by federal regulatory agencies. How does this affect their accounting systems?
|
Calculate the value of a 6-month european
: Calculate the value of a 6-month European put futures option when the futures price is $19, the strike price is $20, the risk-free rate is 12% per annum and the volatility of the futures price is 20% per annum.
|
When will linewidth equal atomic dimensions
: CMOS linewidths have been scaled down steadily by 30% every three years. In the year 2000, linewidths were in the range of 0.18µm. When will linewidth equal atomic dimensions?
|
Firm operating cycle and its cash conversion cycle
: Describe what the differences are between the firm's operating cycle and its cash conversion cycle? Which one do you think would be more important than the other to you as a business/company owner and why did you form that opinion?
|
Write a menu driven program that will make the coffee shop
: 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.
|
For regulated utilities describe income statement account
: For regulated utilities, describe the income statement accounts, allowance for equity funds used during construction, and allowance for borrowed funds used during construction.
|
Compare and contrast the various provisions across leagues
: Compare and contrast the various provisions across leagues, such as those relating to drug testing, salary arbitration, grievance arbitration, salary caps, drafts, pensions, and other benefits.Discover and discuss whether there are provisions that..
|
What is the yield to maturity
: Bluff Enterprises has $1,000 face value bonds outstanding. These bonds pay interest semiannually, mature in 6 years, and have a 7percent coupon. The current price is quoted at 101.36. What is the yield to maturity?
|
What is aluminium thickness
: Resistance of 200µm long copper lines was measured to be 40 ohm. From copper deposition process we know that thickness is 300 nm. What is the linewidth?
|