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 16:10
Omnidata uses the annualized income method to determine its quarterly federal income tax payments. it had $100,000, $50,000, and $90,000 of taxable income for the first, second, and third quarters, respectively ($240,000 in total through the first three quarters). what is omnidata's annual estimated taxable income for purposes of calculating the third quarter estimated payment?
Answers: 1
question
Business, 22.06.2019 17:40
Within the relevant range, if there is a change in the level of the cost driver, then a. total fixed costs will remain the same and total variable costs will change b. total fixed costs will change and total variable costs will remain the same c. total fixed costs and total variable costs will change d. total fixed costs and total variable costs will remain the same
Answers: 3
question
Business, 22.06.2019 18:30
Jason started last week with $900 in his checking account. during the week, he wrote the checks below. at the end of the week, jason received a paycheck for $534.59. he recorded all of these transactions in his check register. trans typ./ check no. date description of transaction payment/ debit deposit/ credit (+) balance 900 00 241 12/4 miller's food market 53.21 53 21 groceries 846 79 242 12/7 frank's auto parts 24.05 24 05 oil and filter 822 74 243 12/8 mike's barber shop 15.00 15 00 haircut 807 74 deposit 12/9 paycheck 534.59 534 59 1,342 33 evaluate jason's check register. a. jason did a good job; everything is correct. b. the final balance is wrong; jason did not add everything correctly. c. jason should have written debit instead of deposit for the transaction type. d. jason entered the amount for his paycheck in the wrong column.
Answers: 3
question
Business, 22.06.2019 19:00
The east asiatic company (eac), a danish company with subsidiaries throughout asia, has been funding its bangkok subsidiary primarily with u.s. dollar debt because of the cost and availability of dollar capital as opposed to thai baht-denominated (b) debt. the treasurer of eac-thailand is considering a 1-year bank loan for $247,000.the current spot rate is b32.03 /$, and the dollar-based interest is 6.78% for the 1-year period. 1-year loans are 12.04% in baht.a. assuming expected inflation rates of 4.3 % and 1.24% in thailand and the united states, respectively, for the coming year, according to purchase power parity, what would the effective cost of funds be in thai baht terms? b. if eac's foreign exchange advisers believe strongly that the thai government wants to push the value of the baht down against the dollar by5% over the coming year (to promote its export competitiveness in dollar markets), what might the effective cost of funds end up being in baht terms? c. if eac could borrow thai baht at 13% per annum, would this be cheaper than either part (a) or part (b) above?
Answers: 2
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
Mathematics, 28.10.2020 01:00
question
Mathematics, 28.10.2020 01:00
question
Mathematics, 28.10.2020 01:00
question
Mathematics, 28.10.2020 01:00
question
Mathematics, 28.10.2020 01:00
Questions on the website: 13722359