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
Samantha and Bethany are purchasing their first home and reviewing the terms of a 15-year mortgage with their lender, Jim, at Fi
Alona [7]

Jim is doing what is<u> legally </u>right by providing this information to Samantha and Bethany.

<h3><u>The Truth in Lending Act (TILA): What Is It?</u></h3>

A federal statute known as the Truth in Lending Act (TILA) was passed in 1968 with the intention of assisting customers in their interactions with creditors and lenders. The Federal Reserve Board implemented the TILA through a number of regulations. The act's disclosure requirements for information like the annual percentage rate (APR), the length of the loan, and the overall costs to the borrower are some of its most significant features. The borrower must be made aware of this information clearly on all documents before signing them, including occasionally on periodic billing statements.

Learn more about The Truth in Lending Act (TILA) with the help of the given link:

brainly.com/question/7696024?referrer=searchResults

#SPJ4

4 0
2 years ago
A popular television show, the unexpected, achieved skyrocketing ratings after moralist tom bowman attempted to have it removed
Zinaida [17]
This is an example of mass selling through publicity.
The show may not have been that much popular before Tom Bowman wanted it gone, however, after he asked for its removal from the air, people were interested to see why that is so, which is why it gained many new followers instead of losing its old ones.
6 0
3 years ago
Merger Co. has 10 employees, each of whom earns $2,250 per month and has been employed since January 1. FICA Social Security tax
Elis [28]

Answer:

March 31

Dr. Payroll Tax Expense: 3071.25

Cr. FICA- Social security taxes payable:

1395

Cr. FICA- Medicare taxes payable:

326.25

Cr. SUTA-State unemployment taxes payable:

1215

Cr. FUTA- Federal unemployment taxes payable: 135

Explanation:

March 31

Dr. Payroll Tax Expense: 3071.25

Cr. FICA- Social security taxes payable:

(6.2%×$2,250) 1395

Cr. FICA- Medicare taxes payable:

(1.45%×$2,250) 326.25

Cr. SUTA-State unemployment taxes payable:

(5.4$×$2,250) 1215

Cr. FUTA- Federal unemployment taxes payable: (0.6%×$2,250) 135

3 0
3 years ago
When the fed sells treasury bonds on the open market, it will tend to?
Ne4ueva [31]
Here is my answer. DECREASING THE MONEY SUPPLY AND RAISING THE INTEREST RATES is what happens when the Treasury Bonds are being sold by Fed on the open market. An open market is also the same with free market wherein there are only minimal restrictions. Hope this helps.
7 0
2 years ago
What is the expected cashflow of the company XYZ in year 1 if its EBIT in year 1 is $270,000, depreciation is $85,000, change in
vitfil [10]

Answer: b. 233,500

Explanation:

The expected cashflow is;

= (EBIT * (1 - tax) ) + Depreciation - change in net working capital - capital expenditure

= (270,000 * (1 - 25%)) + 85,000 - 19,000 - 35,000

= $‭233,500‬

3 0
2 years ago
Other questions:
  • The super prize in a contest is $10 million. This prize will be paid out in equal yearly payments over the next 20 years. If the
    7·1 answer
  • Plz, help ASAP!!!!
    7·1 answer
  • As part of PSM standards, hazard communication standards require employers who use hazardous chemicals to _____.
    8·1 answer
  • During July, the equivalent units of direct materials added to the product worked on by Department A amounted to a total of 90,0
    14·1 answer
  • Bailey, Inc., is considering buying a new gang punch that would allow them to produce circuit boards more efficiently. The punch
    6·1 answer
  • What would happen to the buying power of your investment after one year if your rate of return was 8% and the rate of inflation
    11·1 answer
  • Which type of risk is most significant for bonds?
    15·1 answer
  • What are the most important lessons you have learned about being a smart and savvy consumer?
    7·1 answer
  • Suppose Cho comes into a large sum of money and decides to lend it out to
    5·1 answer
  • What kind of network might you have at home?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!