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
a common mistake that team leaders and supervisors make is to talk too little during the first team meetings.
asambeis [7]
  • Talking too little in the first team sessions is a common error made by managers and team leaders.
  • Everyone makes mistakes, but managers and leaders are more likely than others to do so. These include misinterpreting your role, providing poor feedback, being very "hands-off," and inadequate delegation.
  • It is true that committing a mistake might provide an opportunity for learning. However, taking the effort to understand how to spot and avoid frequent errors will help you become successful and productive while also earning the respect of your team.

Which seven traits must leaders avoid in order to be successful?

7 Characteristics No Leader Should Possess

  • The propensity for micromanagement.
  • Absence of excitement or optimism.
  • Opposition to novel concepts.
  • Make use of fear as a motivator.
  • Failure to appreciate work well done.
  • They don't express their expectations in a clear manner.
  • Emotional intelligence is lacking.

To learn more about Team Leader, visit:

brainly.com/question/14522054

#SPJ4

6 0
2 years ago
The forces of love, affection, guilt, fear, or passion that compel consumers to buy
barxatty [35]

Answer:

food

Explanation:

what is the question

6 0
2 years ago
22. In which one of the following sentences does the subject come after the verb? A. On the next street, youll ind the shoe shop
Lady bird [3.3K]
B is the correct answer
3 0
3 years ago
What is the purpose of the sherman antitrust act
tamaranim1 [39]
To destory monopolies that were using their power to harm society.
7 0
3 years ago
Read 2 more answers
What is pay per click advertising?
Kamila [148]

Pay-per-click is an internet advertising model used to drive traffic to websites, in which an advertiser pays a publisher when the ad is clicked. Pay-per-click is commonly associated with first-tier search engines.

7 0
2 years ago
Other questions:
  • A company borrows 100,000 today at 12% nominal annual interest. the monthly payment of a 5 year loan is most nearly:
    8·1 answer
  • Who sells dragon scales? Ya know like the ones ya put on chainmail. I need to know like soon.
    13·1 answer
  • All new employees must first complete a six-week training program.
    11·1 answer
  • Whenever Jane is successful she takes full credit for her success, but whenever she is unsuccessful she attributes her failure t
    15·1 answer
  • There is a great deal of behavior that falls into a gray zone that can be difficult to analyze, however outright bribery is clea
    9·2 answers
  • Lenders reserve their lowest interest rates for
    11·1 answer
  • In a weak economy, the sale of lands for development may experience a slowdown. What is the MOST LIKELY reason this
    11·2 answers
  • "Institutional portfolio managers have been allocating an increasing percentage of their funds to cash and cash equivalent posit
    8·1 answer
  • Inventory balances for the Jameson Company in October 2018 are as follows:
    7·1 answer
  • At the Bourg Company, a primary ______ is to increase the monthly revenue by 10%. Bourg considers revenue targets a key part of
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!