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
Check My Work Mack is injured by a tractor manufactured by WestCo. In order to defend against a negligence claim based upon the
Tamiku [17]

Answer:

Option D Showing the absence of privity of contract between it and the consumer.

Explanation:

The reason is that privity of contract says that the party of the contract are only allowable to sue each other which in other words can enforce the other to fulfill his requirements that were agreed while forming contract. So the right answer is option D because it is not related to the negligence claim.

The duty of care that the company owes towards its product's users includes using appropriate production process so that the customer will not be injured, placing the caution and warning labels so that the person can save him from the injury and the company has used components that will not harm the user of the product.

So all the options are correct except option D.

8 0
3 years ago
What role should government play in a free market economy?
igor_vitrenko [27]
Economists, however, identify six major functions of governments in market economies. Governments provide the legal and social framework, maintain competition, provide public goods and services, redistribute income, correct for externalities, and stabilize the economy.
8 0
3 years ago
Read 2 more answers
An analysis of stockholders' equity of Hahn Corporation as of January 1, 2010, is as follows:
charle [14.2K]

Answer:

Additional paid-in capital is $904,200

Explanation:

Number of shares, issued and outstanding = 93,000 shares

Acquired 2,460 shares of its stock for $75,000.

Sold 2,000 treasury shares at $35 per share.

Sold the remaining 460 treasury shares at $20 per share.

i) Acquired 2,460 shares of its stock for $75,000.

= Treasury Stock Dr $75,000

ii) Sold 2,000 treasury shares at $35 per share.

Treasury Stock (2,000 × $35) = Dr $70,000

iii) Sold the remaining treasury shares at $20 per share.

Treasury Stock (460 × $20) = Dr $9,200

Total Treasury Stock = $75,000 - $70,000 - $9,200

= ($4,200)

Paid in Cap-tresury stock= 10,000-5000=5000

Additional Paid in capital = Paid in Capital - treasury stock

= 900,000 + 4,200 = $904,200

6 0
3 years ago
A local university has a student population that is 55% male. 60% of students are undergraduates. 38% are both male and undergra
Mandarinka [93]

The probability that a randomly selected student is female and an undergraduate = 37%

The probability of being female or an undergraduate= 1.05

<h3>The male students</h3>

The male population = 55%

Therefore female population would be 1 - 0.55 = 45%

<u>Undergraduates</u> = 60%

The male undergraduate = 38%

Therefore female undergraduates = 60%-38%

= 22%

a. The probability that a randomly selected student is an undergraduate and female

= \frac{0.22}{0.60}

= 37%

B. The probability that the student is female or undergraduate

P(A or B)

= Probability of female = 45/100

Probability of undergraduate = 60/100

= 0.45 + 0.60

= 1.05

Read more on probability here:

brainly.com/question/25870256

4 0
2 years ago
homeworklib Assume the following for White Top Inc. for the current fiscal year. White Top applies overhead on the basis of unit
Naya [18.7K]

Answer:

50,500 Units

Explanation:

The computation of the number of units produced is shown below:

Overhead rate is

= $200,000 ÷ 50,000 units

= $4 per unit

The Actual overhead is $222,000

So,

Under applied overhead is $20,000

Now

Applied overhead is

= $222,000 - $20,000

= $202,000

And, finally

Actual unit produced is

= $202000 ÷ 4

= 50,500 Units

6 0
3 years ago
Other questions:
  • Folsom Fashions sells a line of women's dresses. Folsom's performance report for November is shown below. (CMA adapted)
    7·1 answer
  • How is the economic way of thinking more than just money, budgets, and the stock market?
    14·1 answer
  • You left work on Thursday evening and forgot to turn in a report that was due that day to your manager. You decide you need to c
    11·1 answer
  • When a company tracks gross profit by department, the sales journal will..? Please help limited time!
    10·1 answer
  • Sarah invests $2,700 today in an account that pays 6 percent interest compounded annually. She wants to know the total balance i
    11·1 answer
  • In reviewing the Indian software industry and the diamond of national advantage, which of the following is a relatively weak set
    5·1 answer
  • On June ​1, 2018​, High Performance Cell Phones sold $ 25 comma 000 of merchandise to Ackerman Trucking Company on account. Acke
    5·1 answer
  • 1. How we can measure uncertainty in the environment?
    11·1 answer
  • Owner's withdrawals:______.
    7·1 answer
  • The general term used to indicate delaying the recognition of an expense already paid or of a revenue already received is
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!