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]
4 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]4 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
Furthermore, 75% have adequate knowledge about your product and 65% say they like the product. Half say they intend to buy the p
sergij07 [2.7K]

Answer:

Behavioral Phase

Explanation:

Based on the information provided it can be said that the aspect that should be the promotional objective is the Behavioral Phase, which targets those actual purchases. This would be the best option since the vast majority of the public already knows about the product and likes it, but less than half actually go through with the purchase. Therefore targeting this aspect of the hierarchy of effects will demonstrate the best results.

5 0
4 years ago
Research suggests that passengers substantially increase the risk of a collision __________ . A. for all drivers B. only when an
igomit [66]
Research suggests that passengers substantially increase the risk of a collision <span>only when another distraction is involved.</span>
7 0
4 years ago
Read 2 more answers
Prepare a corrected trial balance by changing incorrect amounts and placing each amount in the proper column.
Oduvanchick [21]
Hii can you please mark me brainliest !! I need it ans the answer is 17,729
8 0
3 years ago
How can entrepreneurs avoid getting caught up in the hype surrounding their product or service?
dybincka [34]
Entrepreneurs can avoid getting 'caught up in the hype' surrounding their product or service by always maintaining a level head and not obtaining an ego. 
7 0
3 years ago
A corporate coupon bond of 6.9 percent is callable in five years for a call premium of one year of coupon payments. Assuming a p
bagirrra123 [75]

Answer:

$1,069

Explanation:

Data provided in the given question

Future value = $1,000

Coupon bond = 6.9%

Time period = 5 years

The computation of price paid is shown below:-

Amount Paid = Principal Amount + Call premium

= $1,000 + 6.9% × $1,000

= $1,069

Therefore, for calculating the amount paid we simply add principal amount add call premium.

3 0
3 years ago
Other questions:
  • Prepare the Unadjusted Trial Balance Prepare the Unadjusted Trial Balance for Smart Touch Learning for December 31st. Check your
    11·1 answer
  • In 3 to 4 sentences describe how you can want financially responsible
    8·1 answer
  • Lost A Friend Corporation produces and sells 10,000 units of Product X each month. The selling price of Product X is $40 per uni
    13·1 answer
  • As an it professional you may support databases, but not do any application coding, why do you think it is still important to un
    15·1 answer
  • Economists often are interested in percentage change from one period to the next. The percentage rate of change of gross domesti
    7·1 answer
  • Buying an existing business may allow a new business owner to start making money right away.
    12·2 answers
  • After raising two children, Anh, a single 48-year-old, decided to go to college to earn her first college degree. She spent two
    13·1 answer
  • Which of the following is a primary cause of LO/TO accidents? A) Moving equipment was blocked B) The machine operating instructi
    6·2 answers
  • rons woodworking supplies high quality wooden bowls made from xotic hardwoods form around the world for its customers Ron has hi
    12·1 answer
  • raphael spends $150 to purchase medical services from the medical clinic. susan earns $600 per week working for the medical clin
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!