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
"when the price goes down, the quantity demanded goes up. the price elasticity of demand measures:"
ludmilkaskok [199]
I am confusion
















Wut is happening
7 0
3 years ago
What is the present value of the following cash-flow stream if the interest rate is 5%? (Do not round intermediate calculations.
ira [324]

Answer:

present value  = $785.21

Explanation:

given data

interest rate r = 5%

Year 1 Cash Flow  C1 = $190

Year 2 Cash Flow  C2 = $390

Year 3 Cash Flow  C3 = $290

time t = 3 year

solution

we get here present value of cash-flow stream that is express as

present value = \frac{C1}{(1+r)} + \frac{C2}{(1+r)^2} + \frac{C3}{(1+r)^3}    ......................1

put here value and we get

present value  = \frac{190}{(1+0.05)} + \frac{390}{(1+0.05)^2} + \frac{290}{(1+0.05)^3}

present value  = $785.21

6 0
3 years ago
How are instrument families created?
Grace [21]
Musical instruments are grouped into families based on how they make sounds. In an orchestra, musicians sit together in these family groupings. But not every instrument fits neatly into a group. For example, the piano has strings that vibrate, and hammers that strike.

Hope I helped ❤️
Plz mark me brainiest? :)
5 0
3 years ago
A machine with a cost of $100,000 and accumulated depreciation of $98,000 is sold for $70,000 cash. The amount that should be re
Reptile [31]

Answer:

$70,000

Explanation:

cash flows from investing activities  generally refers to money made or spent  on long-term assets the company has purchased or sold. Investing transactions generate cash  outflows, such as capital expenditures for plant, property and equipment, business acquisitions  and the purchase of investment securities. Inflows come from the sale of non- current assets such as machines and equipment, businesses and  investment securities. For investors, the most important item in this category is capital  expenditures, made to ensure the proper maintenance of, and additions to, a company's physical  assets to support its efficient operation and competitiveness.

So based on the above discussion, the amount that should be reported in cash flow from investing activities is cash inflow from purchase of machine which is "$70,000"

7 0
4 years ago
How can you change the view of a presentation? A by navigating to the Home tab B. by using the icons on the status bar C.with th
Nastasia [14]
B would be the answer

6 0
3 years ago
Read 2 more answers
Other questions:
  • Whitmer Corporation is working on its direct labor budget for the next two months. Each unit of output requires 0.05 direct labo
    12·1 answer
  • The payroll register of Charbroil Company indicates $1,200 of social security tax withheld and $300 of Medicare tax withheld on
    15·1 answer
  • Which of the following statements is FALSE? a. Cause-and-Effect forecasting assumes that one or more factors are related to dema
    14·1 answer
  • You notice a european call and a european put on a stock have the same strike price and time to maturity on an options exchange.
    13·1 answer
  • Fernandez Company had an accounts receivable balance of​ $150,000 on December​ 31, Year 2 and​ $175,000 on December​ 31, Year 3.
    7·2 answers
  • Cyclical unemployment:_________
    8·1 answer
  • Prime Inc. has come up with a new product development project for which the project manager forms a team. The team includes Cam,
    9·1 answer
  • Which of the following is true of variances? a.Unfavorable variances occur whenever actual prices or actual usage of inputs are
    11·2 answers
  • Sheffield Corp. is unsure of whether to sell its product assembled or unassembled. The unit cost of the unassembled product is $
    8·1 answer
  • Francis works for a local fly-fishing shop. The shop allows employees to purchase two fly rods per year at a discount. This year
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!