Questions
Remember that great app you wrote for Yogurt Yummies (Lab 10-2). They want you to enhance...

Remember that great app you wrote for Yogurt Yummies (Lab 10-2). They want you to enhance the C++ console application that calculates and displays the cost of a customer’s yogurt purchase. Now they need to process multiple sales. Do not change any logic for handling a single sale. Make the following enhancements:

          ● Add "v2" to the application output header and close.

          ● Declare and initialize overall totals including:

                    ü Number of sales.

                    ü Overall number of yogurts sold.

                    ü Overall sale amount after discount.

                    ü Overall tax paid.

                    ü Overall sale total.

          ● Enclose the logic for a single sale with a sentinel loop that continues to process sales until the user enters 'n'.

          ● After calculating sale totals, update overall totals.

          ● When the user enters the sentinel value ('n'), print overall totals using formatted output manipulators (setw, left/right). Run the program with invalid and valid inputs, and at least three sales. The output should look like this:

Welcome to Yogurt Yummies, v2

-----------------------------

Enter another yogurt purchase (y/n)? y

Sale 1

----------------------------------------

Enter the number of yogurts purchased (1-9): 11

Error: '11' is an invalid number of yogurts.

Enter the number of yogurts purchased (1-9): 2

Enter the percentage discount (0-20): 22

Error: '22.00' is an invalid percentage discount.

Enter the percentage discount (0-20): 4

Yogurts:                             2

Yogurt cost ($):                  3.50

Discount (%):                     4.00

Subtotal ($):                     7.00

Total after discount ($):         6.72

Tax ($):                          0.40

Total ($):                        7.12

Enter another yogurt purchase (y/n)? y

Sale 2

----------------------------------------

Enter the number of yogurts purchased (1-9): 5

Enter the percentage discount (0-20): 10

Yogurts:                             5

Yogurt cost ($):                  3.50

Discount (%):                    10.00

Subtotal ($):                    17.50

Total after discount ($):        15.75

Tax ($):                          0.94

Total ($):                       16.70

Enter another yogurt purchase (y/n)? y

Sale 3

----------------------------------------

Enter the number of yogurts purchased (1-9): 7

Enter the percentage discount (0-20): 20

Yogurts:                             7

Yogurt cost ($):                  3.50

Discount (%):                    20.00

Subtotal ($):                    24.50

Total after discount ($):        19.60

Tax ($):                          1.18

Total ($):                       20.78

Enter another yogurt purchase (y/n)? n

Overall totals

========================================

Sales:                               3

Yogurts:                            14

Total after discount ($):        42.07

Tax ($):                          2.52

Total ($):                       44.59

End of Yogurt Yummies, v2

This is from yogurt Yummies V1

Welcome to Yogurt Yummies

-------------------------

Enter the number of yogurts purchased (1-9): 12

Error: '12' is an invalid number of yogurts.

Enter the number of yogurts purchased (1-9): 4

Enter the percentage discount (0-20): 30

Error: '30.00' is an invalid percentage discount.

Enter the percentage discount (0-20): 10

Yogurts:                             4

Yogurt cost ($):                  3.50

Discount (%):                    10.00

Subtotal ($):                    14.00

Total after discount ($):        12.60

Tax ($):                          0.76

Total ($):                       13.36

End of Yogurt Yummies

In: Computer Science

Consider the following hourly demand and cost schedule for a firm facing a fixed price of...

Consider the following hourly demand and cost schedule for a firm facing a fixed price of $ 6.00 per unit. (Tπ, is Total Profit).

  Q    P             TR    MR    TFC       TVC          TC         MC           ATC          AVC         Tπ

                                                                                                                                                             

  0    $6.00                                                               $2.00            

  1                                                           4              

  2                                                           6              

  3                                                           8             

  4                                                           11             

  5                                                           15                     

  6                                                          20             

  1.                                                       26             

8                                                           33           

  9                                                           41           

10                                                       50

11                                                       60

                                                                                                                                      

  1. Complete the columns for ATC, AVC, and MC as well as those for (TC), TVC, & TFC.  
  2. Draw the curves for Demand, MR (Marginal Revenue), ATC, AVC, and MC, all in one diagram. Also draw the Total Revenue (TR), Total Cost (TC), TVC, and TFC in a second diagram right below the first one.

  1. Determine, in order to maximize profit, how many units should this firm produce and why?
  2. Calculate the total profit at the profit-maximizing level and demonstrate it graphically and geometrically in the diagrams wherever applicable.

In: Economics

Jiminy’s Cricket Farm issued a bond with 30 years to maturity and a semiannual coupon rate...

Jiminy’s Cricket Farm issued a bond with 30 years to maturity and a semiannual coupon rate of 10 percent 4 years ago. The bond currently sells for 94 percent of its face value. The company’s tax rate is 38 percent. The book value of the debt issue is $50 million. In addition, the company has a second debt issue on the market, a zero coupon bond with 14 years left to maturity; the book value of this issue is $50 million, and the bonds sell for 54 percent of par.

What is the company’s total book value of debt? (Enter your answer in dollars, not millions of dollars, e.g. 1,234,567.)

Total book value $

What is the company’s total market value of debt? (Enter your answer in dollars, not millions of dollars, e.g. 1,234,567.)

Total market value $

What is your best estimate of the aftertax cost of debt? (Do not round intermediate calculations. Enter your answer as a percent rounded to 2 decimal places, e.g., 32.16.)

Cost of debt %

In: Finance

Lee’s Furniture manufactures two types of chairs---recliner and office chair. The following activity and cost information...

Lee’s Furniture manufactures two types of chairs---recliner and office chair. The following activity and cost information has been compiled:

                               Number of             Number of                        Number of

Product                         Setups          Components           Direct Labor Hours

Recliner                                5                          40                                    300

Office chair                           8                          45                                    175

Overhead costs          $80,000               $180,000

Assume a traditional costing system applies the $260,000 of overhead costs based on direct labor hours.

a.   What is the total amount of overhead costs assigned to the recliner?

b.   What is the total amount of overhead costs assigned to the office chair?

Assume an activity-based costing system is used and that the number of setups and the number of components are identified as the activity-cost drivers for overhead.

c.   What is the total amount of overhead costs assigned to the recliner?

d.   What is the total amount of overhead costs assigned to the office chair?

e.   Explain the difference between the costs obtained from the traditional costing system and the ABC system. Which system provides a better estimate of costs? Why?

In: Accounting

Jiminy’s Cricket Farm issued a bond with 30 years to maturity and a semiannual coupon rate...

Jiminy’s Cricket Farm issued a bond with 30 years to maturity and a semiannual coupon rate of 6 percent 3 years ago. The bond currently sells for 92 percent of its face value. The company’s tax rate is 40 percent. The book value of the debt issue is $50 million. In addition, the company has a second debt issue on the market, a zero coupon bond with 12 years left to maturity; the book value of this issue is $50 million, and the bonds sell for 54 percent of par.

What is the company’s total book value of debt? (Enter your answer in dollars, not millions of dollars, e.g. 1,234,567.)

  Total book value $   

What is the company’s total market value of debt? (Enter your answer in dollars, not millions of dollars, e.g. 1,234,567.)

  Total market value $   

What is your best estimate of the aftertax cost of debt? (Do not round intermediate calculations. Enter your answer as a percent rounded to 2 decimal places, e.g., 32.16.)

  Cost of debt %

In: Finance

Consider the following hourly demand and cost schedule for a firm facing a fixed price of...

Consider the following hourly demand and cost schedule for a firm facing a fixed price of $ 6.00 per unit. (Tπ, is Total Profit).

Q    P             TR   MR    TFC       TVC          TC         MC           ATC          AVC         Tπ

                                                                                                                                                              

0    $6.00                                                               $2.00            

1                                                           4             

2                                                           6             

3                                                           8             

4                                                          11             

5                                                          15                     

6                                                          20             

  1.                                                      26             

8                                                          33          

  9                                                          41          

10                                                       50

11                                                       60

                                                                                                                                      

  1. Complete the columns for ATC, AVC, and MC as well as those for (TC), TVC, & TFC.
  2. Draw the curves for Demand, MR (Marginal Revenue), ATC, AVC, and MC, all in one diagram. Also draw the Total Revenue (TR), Total Cost (TC), TVC, and TFC in a second diagram right below the first one.
  3. Determine, in order to maximize profit, how many units should this firm produce and why?
  4. Calculate the total profit at the profit-maximizing level and demonstrate it graphically and geometrically in the diagrams wherever applicable.

In: Economics

The spot offer price of Google stock is $1,044.15 and the offer price of a call...

The spot offer price of Google stock is $1,044.15 and the offer price of a call option with a strike price of $1,100 and a maturity date of September is $50.60. A trader is considering two alternatives: buy 100 shares of the stock and buy 100 September call options. For each alternative, what is (a) the upfront cost, (b) the total gain if the stock price in September is $1,250, and (c) the total loss if the stock price in September is $950. Assume that the option is not exercised before September and if stock is purchased it is sold in September.The spot offer price of Google stock is $1,044.15 and the offer price of a call option with a strike price of $1,100 and a maturity date of September is $50.60. A trader is considering two alternatives: buy 100 shares of the stock and buy 100 September call options. For each alternative, what is (a) the upfront cost, (b) the total gain if the stock price in September is $1,250, and (c) the total loss if the stock price in September is $950. Assume that the option is not exercised before September and if stock is purchased it is sold in September.

In: Accounting

Pearce’s Cricket Farm issued a 20-year, 10% semiannual bond 2 years ago. The bond currently sells...

Pearce’s Cricket Farm issued a 20-year, 10% semiannual bond 2 years ago. The bond currently sells for 93% of its face value. The company’s tax rate is 35%.

Suppose the book value of the debt issue is $50 million. In addition, the company has a second debt issue on the market, a zero coupon bond with 13 years left to maturity; the book value of this issue is $40 million and the bonds sell for 52% of par. Assume the par value of the bond is $1,000.

What is the company’s total book value of debt? (Enter the answer in dollars. Omit $ sign in your response.)

Total book value           $

What is the company’s total market value of debt? (Enter the answer in dollars. Omit $ sign in your response.)

Total market value           $

What is your best estimate of the after-tax cost of debt? (Do not round intermediate calculations. Enter your answer as a percentage rounded to 2 decimal places.)

Cost of debt             %

In: Finance

Rogen Corporation manufactures a single product. The standard cost per unit of product is shown below....

Rogen Corporation manufactures a single product. The standard cost per unit of product is shown below. Direct materials—1 pound plastic at $6 per pound $ 6.00 Direct labor—2.00 hours at $11.85 per hour 23.70 Variable manufacturing overhead 12.00 Fixed manufacturing overhead 12.00 Total standard cost per unit $53.70 The predetermined manufacturing overhead rate is $12 per direct labor hour ($24.00 ÷ 2.00). It was computed from a master manufacturing overhead budget based on normal production of 11,800 direct labor hours (5,900 units) for the month. The master budget showed total variable costs of $70,800 ($6.00 per hour) and total fixed overhead costs of $70,800 ($6.00 per hour). Actual costs for October in producing 3,700 units were as follows. Direct materials (3,890 pounds) $ 23,729 Direct labor (7,300 hours) 87,965 Variable overhead 63,934 Fixed overhead 26,966 Total manufacturing costs $202,594

In: Accounting

Jonesy, Inc. sold 150 High Quality DVD players in the amount of $225 each during 2014...

Jonesy, Inc. sold 150 High Quality DVD players in the amount of $225 each during 2014 (for cash). The DVD's have a cost basis of $175 to the company. Jonesy offers a free 2 year warranty on all DVD players. Historically, they have experienced an average warranty cost of 3% of the sales price. Jonesy uses the perpetual inventory method. A. Record the sale of the 150 DVD players. B. Record the Warranty Expense Adjusting Entry at the end of 2014. C. During 2015, 10 of the DVD players are returned due to a severe malfunction and had to replaced with an entirely new unit out of inventory. Record this entry. D.What is the total warranty expense that would have been recorded for 2014? E. What is the total warranty liability at the end of 2014? F. What is the total warranty expense that would have been recorded for 2015? G. What is the total warranty liability at the end of 2015? Comment on the company's estimated warranty percentage. Is it sufficient? How would you change it?

In: Accounting