subject
Business, 04.02.2020 20:48 tangia

You work for a bakery that sells two items: muffins and cupcakes. the number of muffins and cupcakes in your shop at any given time is stored in the variables muffins and cupcakes, which have been defined for you. write a program that takes strings from standard input indicating what your customers are buying ("muffin" for a muffin, "cupcake" for a cupcake). if they buy a muffin, decrease muffins by one, and if they buy a cupcake, decrease cupcakes by 1. if there is no more of that baked good left, print ("out of stock"). once you are done selling, input "0", and have the program print out the number of muffins and cupcakes remaining, in the form "muffins: 9 cupcakes: 3" (if there were 9 muffins and 3 cupcakes left, for example).

ansver
Answers: 3

Another question on Business

question
Business, 22.06.2019 20:00
Later movers do not face: entrenched competitors. reduced uncertainty over technologies. high growth markets. lower market uncertainty.
Answers: 3
question
Business, 22.06.2019 21:30
Which of the following best explains why online retail companies have an advantage over regular stores? a. their employees make less money because they mostly perform unskilled tasks. b. they are able to keep distribution costs low by negotiating deals with shipping companies. c. their transactions require expensive state-of-the-art technological devices. d. they have a larger number of potential customers because people anywhere can buy from them.
Answers: 1
question
Business, 22.06.2019 22:00
"jake’s roof repair has provided the following data concerning its costs: fixed cost per month cost per repair-hour wages and salaries $ 20,900 $ 15.00 parts and supplies $ 7.70 equipment depreciation $ 2,800 $ 0.35 truck operating expenses $ 5,720 $ 1.60 rent $ 4,690 administrative expenses $ 3,850 $ 0.50 for example, wages and salaries should be $20,900 plus $15.00 per repair-hour. the company expected to work 2,600 repair-hours in may, but actually worked 2,500 repair-hours. the company expects its sales to be $47.00 per repair-hour. required: compute the company’s activity variances for may."
Answers: 1
question
Business, 23.06.2019 07:40
Donald has created a trust for the benefit of his three nephews, huey, dewey, and louie, who are all minors. donald plans on making annual contributions to the trust. donald would like his annual contributions to the trust to qualify for the annual exclusion. what would be the best way to accomplish this goal? a)
Answers: 3
You know the right answer?
You work for a bakery that sells two items: muffins and cupcakes. the number of muffins and cupcake...
Questions
question
Chemistry, 09.11.2020 20:10
question
Law, 09.11.2020 20:10
question
Mathematics, 09.11.2020 20:10
question
Health, 09.11.2020 20:10
question
Mathematics, 09.11.2020 20:10
Questions on the website: 13722367