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
For each separate case, record an adjusting entry (if necessary). Barga Company purchases $32,000 of equipment on January 1. The
scoundrel [369]

Answer:

<u>Equipment:</u>

                                                  Dr.       Cr.

Depreciation Expense          $5,520

Accumulated Depreciation                $5,520

<u>Land:</u>

Land never depreciates, so there is no adjusting entry for the Land purchased on year end.

Explanation:

Year end is not given in the data so, it is assumed the December 31 is the end of the year

Equipment

Depreciation  for the year = ( Purchase price - Residual value ) / useful life

Depreciation  for the year = ( $32,000 - $4,400 ) / 5 years

Depreciation  for the year = $5,520

8 0
3 years ago
Which tool of monetary policy allows the Federal Reserve to decrease the
mihalych1998 [28]
It's D. Increasing the reserve requirement on banks
6 0
2 years ago
Read 2 more answers
The Terme Corporation is contemplating the purchase of new equipment, which may potentially increase revenues by 25%. Currently,
vekshin1

Answer:

The increase in gross profit is  $12,374.93

Explanation:

The increase in sales due to purchasing this new equipment is 25% of current sales figure of $750,000

increase in sales=$750,000*25%=$187,500

variable cost on the increase in sales is 55%=$187500 *55%=$103,125

The annual depreciation charge on the new equipment=cost of the new equipment-salvage value/useful life

cost of the new equipment is $357,500.37

salvage value is $0

useful life of the new equipment is 5 years

annual depreciation charge=($357,500.37-$0)/5=$ 71,500.07  

Increase/(decrease) in annual gross profit=$187,000-$103,125-$ 71,500.07  =$12,374.93  

4 0
3 years ago
Here I Sit Sofas has 7,100 shares of common stock outstanding at a price of $94 per share. There are 600 bonds that mature in 30
Zinaida [17]

Answer:

Weight of debt = 57.83 %

Explanation:

given data

number of shares =  7,100

price = $94 per share

number of bonds = 600

mature time = 30 year s

coupon rate = 6.8 percent

bonds par value = $2,000

sell = 108.5 percent

stock outstanding = 6,000 shares

stock outstanding price = $47 per share

to find out

capital structure weight of the debt

solution

first we get here Equity market value that is express as

Equity market value = number of shares × price per share

Equity market value = 7100 × $94

Equity market value = $667,400

and  

current debt value will be here as

current debt value = number of bonds × price per bond

current debt value = 600 × (1.085 × 2000)

current debt value = $1,302,000

and now Preferred stock value will be

Preferred stock value = stock outstanding × stock outstanding price

Preferred stock value = 6,000  × $47

Preferred stock value = $282000

and total capital will be as  

Total capital = Equity market value + current debt value + preferred stock value ..................1

put here value

Total capital =  $667,400 +  $1,302,000 + $282000

total capital = $2251400

so here Weight of debt will be

Weight of debt = debt value ÷ total capital ..............2

Weight of debt = \frac{1,302,000}{2251400}

Weight of debt = 0.578306

Weight of debt = 57.83 %

6 0
3 years ago
A grocery store manager must decide whether to buy four rug cleaners to rent to customers. The manager estimates that the first
aksik [14]

Answer:

It will purchase three.

Explanation:

the return will be:

income / investment

1ST  rug cleaners:    200/500 = 40% return

2 rug cleaners:   150/500 =  30% return

3 rug cleaners:   75/500 = 15% return

4 rug cleaners:  20/500 =  4% return

As the current market rate is 12% if the forth rug cleaner is pruchased it will not turn out profitable.

7 0
3 years ago
Other questions:
  • What is the most important thing about meeting new contacts? A. Building your Rolodex B. Overcoming shyness C. Getting referrals
    5·1 answer
  • Owens Finest Mattress Co., Inc. decided to employ an anti-mission statement. Which of the following phrases did they use?
    13·2 answers
  • The athletics department at your university currently sells 50,000 tickets to football games at an equilibrium price of $40 each
    15·2 answers
  • 6. For a business that uses the allowance method of accounting for uncollectible receivables: (a) Journalize the entries to reco
    7·1 answer
  • P&amp;L, a French luxury goods company, launched a new line of leather accessories in four countries. The company devised an agg
    6·2 answers
  • You wish to retire in 10 years, at which time you want to have accumulated enough money to receive an annual annuity of $13,000
    13·1 answer
  • The key principle in preventing disruption, destruction and disaster is ___________.
    6·1 answer
  • Fitbit makes health and fitness tracking devices. some buyers want very basic fitness tracking such as steps taken and calories
    5·1 answer
  • When marketers strive to get their customers the merchandise they want, when they want it, in the required quantities, and at a
    15·1 answer
  • Yekutia has the resources to manufacture 320 motorcycles or 570 lawn-mowers per year. The country of Bezanitia, has the capabili
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!