1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Usimov [2.4K]
3 years ago
6

You are to write a main() program in c++ implementing the test cases that were created for task 1. Your main() program will use

the files studentgrades.H, studentgrades.Cpp, student.H, and student.Cpp that are provided in the zip file. Every place in the main() function that implements a test case should be preceded by a comment identifying that test case. A main.Cpp file is provided to you that you must add your test case implementation to. Test case 1 is already implemented, so use this as an example of how to write your next test cases. Hint: before you start writing new test cases, compile and execute test case 1 to make sure everything is working well. The first test case should fail. When all the test results are completed, you will save the test case results. Submit your main.Cpp file and submit the test case results in a text file called task2.Txt.
Business
1 answer:
kirill [66]3 years ago
8 0
The first test case should fail. When all the test results are completed, you will save the test case results
You might be interested in
Which of the following is not affected by a person's credit score?
Anon25 [30]
A. federal tax income
6 0
3 years ago
Top Breakfast Cereal producers - company name, most current market share, signature
kondor19780726 [428]

Answer:

1. Kellogg Company - 30.1% market share - signature products: Froot Loops, Corn Flakes, Apple Jacks.

2. General Mills - 29.85% market share - signature products: Cheerios, Nature Valley, Lucky Charms.

3. Post Holdings - 18.92% market share - Honey Bunches, Fruity Pebbles.

4. Private Label - 7.48% market share - Muesli, Choco-Shells

7 0
3 years ago
A perfectly competitive industry consists of many identical firms, each with a long-run average total cost of LATC = 800 – 10Q
Karolina [17]

Answer:

50

Explanation:

According to the question, The computation of the quantity produce is shown below:

Here we use the differentiation LRAC to zero

\frac{\partial LRATC}{\partial Q}=-10+0.2Q=0\\\\ 0.2Q=10\\\\ Q=50

From above calculation it can be concluded that the each firm would be produced the quantity of long run equilibrium for 50

Hence, the first option is correct

5 0
2 years ago
Instructions: Please make sure that you show all your work when solving the problems. Feel free to make any assumptions whenever
My name is Ann [436]

Answer:

Explanation:

From the given information:

The current price = \dfrac{Dividend(D_o) \times (1+ Growth  \ rate) }{\text{Cost of capital -Growth rate}}

15 = \dfrac{0.50 \times (1+ Growth rate)}{8\%-Growth rate}

15 \times (8 -Growth \  rate) = 0.50 +(0.50 \times growth  \  rate)

1.20 - (15 \times Growth \ rate) = 0.50 + (0.50 \times growth \ rate)

0.70 = (15 \times growth  \ rate) \\ \\ Growth  \ rate = \dfrac{0.70}{15.50} \\ \\ Growth  \ rate = 0.04516 \\ \\ Growth  \ rate \simeq 4.52\% \\ \\

2. The value of the stock  

Calculate the earnings at the end of  5 years:

Earnings (E_o) \times Dividend \  payout  \ ratio = Dividend (D_o) \\ \\ Earnings (E_o) \times 35\% = \$0.50 \\ \\ Earnings (E_o) =\dfrac{\$0.50}{35\%} \\ \\ = \$1.42857

Earnings (E_5) year \  5  = Earnings (E_o) \times (1 + Growth \ rate)^{no \ of \ years} \\ \\ Earnings (E_5) year \  5  = \$1.42857 \times (1 + 12\%)^5 \\ \\ Earnings (E_5) year \ 5  = \$2.51763

Terminal value year 5 = \dfrac{Earnings (E_5) \times (1+ Growth \ rate)}{Interest \ rate - Growth \ rate}

=\dfrac{\$2.51763\times (1+0.04516)}{8\%-0.04516}

=$75.526

Discount all potential future cash flows as follows to determine the stock's value:

\text{Value of stock today} =\bigg( \sum \limits ^{\text{no of years}}_{year =1} \dfrac{Dividend (D_o) \times 1 +Growth rate ) ^{\text{no of years}}}{(1+ interest rate )^{no\ of\ years} }

+ \dfrac{Terminal\ Value }{(1+interest \ rate )^{no \ of \ years}} \Bigg)

\implies \bigg(\dfrac{\$0.50\times (1 + 12\%)^1) }{(1+ 8\%)^{1} }+ \dfrac{\$0.50\times (1+12\%)^2 }{(1+8\% )^{2}}+ \dfrac{\$0.50\times (1+12\%)^3 }{(1+8\% )^{3}}  + \dfrac{\$0.50\times (1+12\%)^4 }{(1+8\% )^{4}} + \dfrac{\$0.50\times (1+12\%)^5 }{(1+8\% )^{5}} + \dfrac{\$75.526}{(1+8\% )^{5}} \bigg )

\implies \bigg(\dfrac{\$0.5600}{1.0800}+\dfrac{\$0.62720}{1.16640}+\dfrac{\$0.70246}{1.2597}+\dfrac{\$0.78676}{1.3605}+\dfrac{\$0.88117}{1.4693}+ \dfrac{\$75.526}{1.4693} \bigg)

=$ 54.1945

As a result, the analysts value the stock at $54.20, which is below their own estimates.

3. The value of the stock  

Calculate the earnings at the end of  5 years:

Earnings (E_o) \times Dividend payout ratio = Dividend (D_o) \\ \\ Earnings (E_o) \times 35\% = \$0.50 \\ \\ Earnings (E_o) =\dfrac{\$0.50}{35\%}\\ \\ = \$1.42857

Earnings (E_5) year  \ 5  = Earnings (E_o) \times (1 + Growth \ rate)^{no \ of \ years} \\ \\ Earnings (E_5) year  \ 5  = \$1.42857 \times (1 + 12\%)^5 \\ \\ Earnings (E_5) year \  5  = \$2.51763 \\ \\

Terminal value year 5 =\dfrac{Earnings (E_5) \times (1+ Growth \ rate)\times dividend \ payout \ ratio}{Interest \ rate - Growth \ rate}

=\dfrac{\$2.51763\times (1+ 7 \%) \times 20\%}{8\%-7\%}

=$53.8773

Discount all potential cash flows as follows to determine the stock's value:

\text{Value of stock today} =\bigg( \sum \limits ^{\text{no of years}}_{year =1} \dfrac{Dividend (D_o) \times 1 + Growth rate ) ^{\text{no of years}}}{(1+ interest rate )^{no \ of\ years} }+ \dfrac{Terminal \ Value }{(1+interest \ rate )^{no \ of \ years }}   \bigg)

\implies \bigg( \dfrac{\$0.50\times (1 + 12\%)^1) }{(1+ 8\%)^{1} }+ \dfrac{\$0.50\times (1+12\%)^2 }{(1+8\% )^{2}}+ \dfrac{\$0.50\times (1+12\%)^3 }{(1+8\% )^{3}}  + \dfrac{\$0.50\times (1+12\%)^4 }{(1+8\% )^{4}} + \dfrac{\$0.50\times (1+12\%)^5 }{(1+8\% )^{5}} + \dfrac{\$53.8773}{(1+8\% )^{5}} \bigg)

\implies \bigg (\dfrac{\$0.5600}{1.0800}+\dfrac{\$0.62720}{1.16640}+\dfrac{\$0.70246}{1.2597}+\dfrac{\$0.78676}{1.3605}+\dfrac{\$0.88117}{1.4693}+ \dfrac{\$53.8773}{1.4693} \bigg)

=$39.460

As a result, the price is $39.460, and the other strategy would raise the value of the shareholders. Not this one, since paying a 100% dividend would result in a price of $54.20, which is higher than the current price.

Notice that the third question depicts the situation after 5 years, but the final decision will be the same since we are discounting in current terms. If compounding is used, the future value over 5 years is just the same as the first choice, which is the better option.

The presumption in the second portion is that after 5 years, the steady growth rate would be the same as measured in the first part (1).

8 0
3 years ago
On January 1, 2018, Race Corp. acquired 80% of the voting common stock of Gallow Inc. During the year, Race sold to Gallow for $
andreyandreev [35.5K]

Answer:

Consolidated income: 954,800 dollars

Explanation:

Gallow income x race participation:

    $   204,000    x   80%   = $ 163,200

The gross profit in the infra-entity transaction will be eliminated

$ 450,000 - $ 330,000 = $ 120,000 gross profit

15% remains at Gallow so: $ 120,000 x 15% = $ 18,000 gross profit for the unsold inventory.

We now multiply by Race participation: $ 18,000 x 80% = $ 14,400 unrealized gain.

Consolidated income:

Race income:   806,000

Gallo income    163, 200

unrealized gain (14, 400)

Total:                954,800

3 0
3 years ago
Other questions:
  • Discuss any one computer-related security issue and one way to resolve the issue.
    13·2 answers
  • On October 5, Loomis Company buys merchandise on account from Brooke Company. The selling price of the goods is $5,000, and the
    7·1 answer
  • Which of the following is NOT a good tip for driving at night? A . Beware of drowsiness B. Keep your eyes locked on the road ahe
    12·2 answers
  • Dynamic pricing is particularly suitable for internet based companies like amazon who want
    10·1 answer
  • If you have a question regarding a compliance concern, or you suspect illegal or unethical documentation or business procedures
    11·1 answer
  • Balance sheet data for Alvarez Company on December 31, the end of two recent fiscal years, follow: Current Year Previous Year Cu
    13·1 answer
  • The Morris Corporation has $350,000 of debt outstanding, and it pays an interest rate of 12% annually. Morris's annual sales are
    6·1 answer
  • A petroleum refinery stockpiles crude oil so that it can easily switch between producing home heating oil and gasoline, dependin
    9·1 answer
  • Phelps, Inc. had assets of $87,938, liabilities of $19,174, and 13,190 shares of outstanding common stock at December 31, 2017.
    9·1 answer
  • Terophone charge is debit or credit​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!