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 moderately​ risk-averse investor has 50 percent of her portfolio invested in stocks and 50 percent in​ risk-free Treasury bill
Cloud [144]

Answer:

increases and decreases

Explanation:

The budget line will become flat and the slope will decrease. The proportion of stocks in the portfolio will fall.

The equation for the budget line is given by,

Rp=((Rm-Rf)/SDm)*SDp + Rj

where Rp is the expected return on the portfolio, Rm is the expected return from investing in the stock market, Rf is the risk-free return on Treasury bills, SDm is the standard deviation of the return from investing in the stock market, and SDp is the standard deviation of the return on the portfolio.

So when the standard deviation of the return on the stock market increases, the slope of the budget line decreases making the budget line to become flatter. The budget line’s intercept stays the same as Rf does not change. As stocks have become riskier without a compensating increase in expected return, the proportion of stocks in the investor’s portfolio will fall.

6 0
2 years ago
The Republic of South Africa exports edible fruits and nuts into the common market known as the European Union, and imports from
Ugo [173]

Answer:

C) The theory of Comparative Advantage

Explanation:

The theory of Comparative Advantage is a theory of international trade and it comes into effect in a situation where the <u>opportunity cost of producing a good or offering by a service by a country is lower than that of other countries. </u>

Specifically, to understand the theory of comparative advantage the opportunity cost of production or offering a service has to be measured in terms of the trade off between those countries. It simply means when a country has the comparative advantage then it derives more benefits from other countries buying its products as compared to buying their products and vice versa.

In the question, the European Union has the Comparative advantage over South Africa because the trade-off between buying South Africa's edible fruits and nuts and selling other products to South Africa benefits the European countries.

European countries derive more benefits because South Africa buys their goods at a cost higher than it takes them to produce while they buy at the normal cost from South Africa. The <u>trade-off benefits Europe </u>

8 0
3 years ago
A young couple living in rural west-central Missouri heard about the closing of a local grocery store. Although a small operatio
Zina [86]

Answer:

The correct answer is letter "C": the invisible hand.

Explanation:

In Economics, the term "invisible hand" refers to the belief that markets are created according to the demands and needs of individuals who take advantage of opportunities without the need for the intervention of other parties like a government. The term was coined by Scottish Enlightenment thinker Adam Smith (1723-1790) in his book "<em>An Inquiry into the Nature and Causes of the Wealth of Nations</em>" (1776).

8 0
3 years ago
The new-product process starts with new-product strategy development. Place the steps that follow this one in order. (In other w
nalin [4]

Answer:

1. New-product strategy development.

2. Idea generation.

3. Screening and evaluation.

4. Business analysis.

5. Development.

6. Market testing.

7. Commercialization.

Explanation:

New product strategy is the first one as described and the remaining are briefed below:

Idea Generation: This steps creates the idea for how the product shall be created.

Screening and evaluation: This helps in evaluating the idea generated and comparing it with the practical manner.

Business Analysis aims at analyzing the business prospect of the new product.

Development is done once all of the above steps are in affirmation.

Market testing is done after the development about the market captured by the product or to be captured.

Commercialization basically aims at the proper introduction of the product in the market.

8 0
3 years ago
The partners share profits and losses in the ratio of 5:3:2, respectively. The partners agreed to dissolve the partnership after
vovangra [49]

Answer:

$30,000

Explanation:

The computation of the amount received by Janet is given below:

Loss on sale of other assets is

= $150,000 - $50,000

= $100,000

Share of Janet in loss is

= $100,000 × 5 ÷ 10

= $50,000

So,  

Janet revised capital balance is

= $80,000 - $50,000

= $30,000

6 0
2 years ago
Other questions:
  • Your boss would like your help on a marketing research project he is conducting on the relationship between the price of soup an
    10·1 answer
  • What is NOT true about a home filing system? It should be kept in a dry area with good air circulation. It is a place to keep al
    13·1 answer
  • Assume that a major customer of the company that you are auditing files for bankruptcy during the subsequent period because of a
    9·1 answer
  • Alex and Becky Fogarty live in Swarthmore, PA. Becky's father, Clancy, lives in Sweden.
    8·1 answer
  • Contingent liabilities must be recorded if: Multiple Choice The future event is probable and the amount owed can be reasonably e
    5·1 answer
  • You are going to deposit $21,000 today. You will earn an annual rate of 4.1 percent for 15 years, and then earn an annual rate o
    11·1 answer
  • Rodriguez, Inc., is preparing its direct labor budget for 2020 from the following production budget based on a calendar year. Qu
    15·1 answer
  • Atlas Corporation reported the following earnings per share information in its current annual report. The company has only one c
    13·1 answer
  • What kind of profession is office assistant?​
    12·1 answer
  • Denials can occur as a result of errors that occur at various points in the revenue cycle. Identify at least one error that can
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!