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
KatRina [158]
3 years ago
14

Compute and output compound interest on $1000.00 for 10 years at interest rates of 5%, 6%, 7%, 8%, 9% and 10% This is an exercis

e in creating nested loops. You must have an inner loop that calculates compound interest via For 1 to 10 amt
Business
1 answer:
jek_recluse [69]3 years ago
5 0

Here is the complete question.

Compute and output compound interest on $1000.00 for 10 years at interest rates of 5%, 6%, 7%, 8%, 9% and 10%

This is an exercise in creating nested loops. You must have an inner loop that calculates compound interest via

For 1 to 10  

amt = rate*amt + amt;

You should have an outer loop that iterates the rate from 0.05 to 1.0.

Interest on $1000.00 over 10 years

rate     total

0.05     $1628.89

0.06     $1790.85

0.07     $1967.15

0.08     $2158.92

0.09    $2367.36

0.1       $2593.74

Press any key to continue

Answer:

Explanation:

The main objective here is to compute  and output compound interest program for the above given data set using the C++.

SO THE PROGRAM GOES THUS:

#include <iostream>

using namespace std;

int main()

{

    double amt;

    double rate = 0.05;

    cout << "\nCompunt interest: " << endl << endl;

    cout << "Rate\tTotal" << endl << endl;

    for (int i = 0; i < 6; i++)

    {

         amt = 1000;

         for (int j = 0; j < 10; j++)

         {

             amt = (rate * amt) + amt;

         }

         cout << rate << "\t$" << amt << endl;

         rate = rate + 0.01;

    }

    system("pause");

}

AND THE SAMPLE OUTPUT IS:

Compound Interest:

Rate             Total

0.05         $1628.89

0.06         $1790.85

0.07         $1967.15

0.08         $2158.92

0.09         $2367.36

0.1            $2593.74

Press any key to continue...

You might be interested in
Zolezzi Inc. is preparing its cash budget for March. The budgeted beginning cash balance is $26,000. Budgeted cash receipts tota
aliya0001 [1]

Answer:

Calculations below

Explanation:

beginning cash balance $    26,000

Add; Cash receipts         $ 105,000

Total cash available         $ 131,000

Less: Cash disbursments $ (94,000)

Excess (Deficieny) of cash available over disbursments $    37,000

Borrowings ($70,000-$37,000) $    33,000

Ending cash balance $    70,000

5 0
3 years ago
Read 2 more answers
Sub-prime loan company is thinking of opening a new office, and the key data are shown below.
Nookie1986 [14]
To complete the above question, please see below:

Sub-Prime Loan Company is thinking of opening a new office, and the key data are shown below. The company owns the building that would be used, and it could sell it for $100,000 after taxes if it decides not to open the new office. The equipment for the project would be depreciated by the straight-line method over the project's 3-year life, after which it would be worth nothing and thus it would have a zero salvage value. No change in net operating working capital would be required, and revenues and other operating costs would be constant over the project's 3-year life. What is the project's NPV? (Hint: Cash flows are constant in Years 1-3.) 

<span>WACC 10.0% </span>
<span>Opportunity cost $100,000 </span>
<span>Net equipment cost (depreciable basis) $65,000 </span>
<span>Straight-line depreciation rate for equipment 33.333% </span>
<span>Annual sales revenues $123,000 </span>
<span>Annual operating costs (excl. depreciation) $25,000 </span>
<span>Tax rate 35%
</span>
The answer is <span>12,271</span>
5 0
3 years ago
Which of the following is a private organization that attempts to influence public officials to act or vote in ways that will be
gayaneshka [121]

This would be an interest group.

4 0
3 years ago
Read 2 more answers
Which of the following will always be a relevant cost? Select one: a. Sunk cost b. Fixed cost c. Variable cost d. Opportunity co
Vsevolod [243]

Answer: Fixed Cost

Explanation: Fixed cost will always be a relevant cost because a business must incur fixed cost during the course of the business.

Fixed cost are cost that are not depended on sales or activity level of the organisation and they are incurred in as much as the business is operational.

Examples of fixed costs are:

Utilities, salaries, rent, depreciation etc.

Fixed costs has a high influence on the profit/ loss of any organisation.

3 0
3 years ago
Which is not a characteristic of contact with energized components that affects severity of injury to a person in a shock incide
Colt1911 [192]

Circuit characteristics such as voltage, Contact resistance, and internal resistance of the body, Duration of the contract,  Environmental conditions that affect the body's contact resistance, Pathway of the current through the body are not characteristic of contact with energized components that affect the severity of injury to a person in a shocking incident.

Sweating - Anything that increases the hydration of body tissues (such as sweating or being very young) makes a person a better conductor and therefore more likely to be injured in shock.

The main factors of energized components that influence the severity of an electric shock injury are 1) the amount of current flowing through the body, 2) the duration of the current flow, and 3) the path of the current through the body.

Learn more about energized components at

brainly.com/question/27953133

#SPJ4

7 0
2 years ago
Other questions:
  • Which statement best describes a Schumer box?
    13·1 answer
  • Compared to perfect competition, a monopoly will produce ________ output, and charge a ________ price. more; lower more; higher
    14·1 answer
  • Unlike goods, services:
    5·1 answer
  • Which occupation would be least affected by inflation?
    13·2 answers
  • Vera is a good listener, helps her customers solve problems, and makes product suggestions that meet their needs. Last year she
    6·1 answer
  • What are the main advantages of volume-based allocation methods compared to activity-based costing?
    5·1 answer
  • Net income for the year for Carrie, Inc. was $750,000, but the statement of cash flows reports that net cash provided by operati
    6·1 answer
  • Pessimism Suppose the economy is in long-run equilibrium. Then because of corporate scandal, international tensions, and loss of
    15·1 answer
  • How has MTV networks international overcome cultural difference to create a world band
    5·1 answer
  • When making keep or replace decisions, management should consider the: (Check all that apply.)
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!