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
Wayco Industrial Supply has a pretax cost of debt of 7.6 percent, a cost of equity of 16.8 percent, and a cost of preferred stoc
Vanyuwa [196]

Answer:

14.88%

Explanation:

Market value of common stock outstanding = 220,000 * $27 = $5,940,000

Market value of preferred stock = 25,000 * $41 = $1,025,000

Market value of bond = $550,000 * 101.2% = $556,600  

Wayco's total financing market value = $5,940,000 + $1,025,000 + $556,600 = $7,521,600

Weighted average cost of capital = [($5,940,000 / $7,521,600) * 16.8%] + [($1,025,000 / $7,521,600) * 9.1%] + [($556,600 / $7,521,600) * 7.6% * (1 - 34%)] = 0.1488, or 14.88%

8 0
3 years ago
С
lozanna [386]

Answer:

I think C is correct answer

8 0
2 years ago
Leading economic indicators
Pavel [41]

Answer:

B. New applications for unemployment insurance

D. Stock prices

Explanation:

Unemployment benefits claims is one of the most powerful leading economic indicators, because it can predict, with a high degree of accuracy, the unemployment rate of the next economic periods.

Stock prices are also included in the index of leading economic indicators, more specifically, the Stock Prices of the S&P 500. Stock prices are a leading indicator because investors try to carefully invest in those companies they feel will have a good performance in both the short-term and the long-term.

5 0
3 years ago
The per-unit standards for direct labor are 2 direct labor hours at $15 per hour. If in producing 2900 units, the actual direct
pashok25 [27]

Answer:

$5400 Favorable

Explanation:

Standard 2 hour at $15 per hour

Standard hours 2 hour per unit * 2900 units = 5800 hours

Total Standard cost = 5800 hours * $15 per hour =  $87,000

Actual hours = 5100

Actual cost = $81600 / 5100 hours = $16 per hour

Variance = Standard - Actual

Labor hour Variance Favorable = 700 hours (5800 hours - 5100 hours)

Total Labor variance = $5400 ($87,000 - $81,600)

4 0
3 years ago
The following situations suggest a strength or a weakness in internal control. Identify each as a strength or weakness​, and giv
Mkey [24]

Answer: Options A and C are strengths while options B and D are weaknesses. See explanation below.

Explanation:

a. All employees must take at least five consecutive days off each year.

This is a strength in internal control. This would help to maintain stability in operational process and ensure leave days are effectively utilized. It also prevents staff from taking the leave days in piecemeal and sporadic manner thereby disrupting the operational process and causing team instability. It is also used to ensure leave days are promptly utilised and well accounted for.

b. The accounting department orders merchandise and approves invoices for payment.

This is a weakness in internal control. There should be a check and balance in this regard. In some organizations, proper scrutiny of the vendor and invoice is done by the Procurement Unit and the Expense Control Unit respectively. Even within the accounting department, there is approval hierarchy. Also, the unit within accounting department that is making the order should not be the one to approve the transaction.

c. Cash received over the counter is controlled by the sales​ clerk, who rings up the sale and places the cash in the register. The daily sales are recorded in the accounting records by the accounting department.

This is a strength in internal control as it ensures checks and balances. Fraud and error can be detected through this means. The accounting department should verify the transactions to the relevant supporting document before recording the transaction in the system.

d. The officer who signs checks need not examine the payment packet because he is confident the amounts are correct.

This is a weakness in internal control in the sense that checks signed by the officer is binding in the court of law. The officer cannot claim ignorance if anything goes wrong. There is therefore a need for proper scrutiny and relevant questions asked before checks are signed.

7 0
3 years ago
Other questions:
  • At year-end, the perpetual inventory records of Whispering Winds Corp. showed merchandise inventory of $112,410. The company det
    15·1 answer
  • You purchase fire insurance<br> a. Reduction<br> b. Transfer
    13·1 answer
  • Carolina mills purchased $270,000 in supplies this year. the supplies account increased by $10,000 during the year to an ending
    10·1 answer
  • In terms of strategy making, what is the difference between a one-business company and a diversified company?A. The first uses a
    11·1 answer
  • Jobs in the hidden job market can be discovered through job advertisements t or f
    9·2 answers
  • Government G levies an income tax with the following rate structure: Percentage Rate Bracket 6 % Income from –0– to $30,000 10 I
    10·1 answer
  • Why is gasoline weighted more heavily than tomatoes in a calculation of the annual inflation rate in the United States
    6·2 answers
  • GroundSwell Pools, Inc., agrees to build a swimming pool for Francis, but fails to complete the job. Francis hires EquiAqua, Inc
    11·1 answer
  • For each of the following shifts(A,B,C,&amp;D) in the demand curve and associated price change of a complement or substitute ite
    14·1 answer
  • ADDDDDDDDDDDDDDDDDDDDDDDDDDDDD MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!