# Visual Basic

posted by .

The rule of 72 is use to make a quick estiment of the time required for prices to double due to inflation. If the inflation rate is (r)percent, then the rule of 72 estimates that prices will double in 72/r years. For instance, at an inflation rate of 6 percent, prices double in about 72/6 or 12 years. Write a program to test the accuracy of this rule. The program should display a table showing, for each value of (r) from 1 to 20, the rounded value of 72/r and the actual amount number of years required at the end of each year).

## Similar Questions

1. ### Math

How long will it take for prices in the economy to double at a 6% annual inflation rate?
2. ### Macroeconomics

Economist John Taylor has suggested that the Fed use the following rule for choosing its target for the federal funds interest rate (r): r= 2% + ð + 1/2 (y-y*) / y* + 1/2 (ð - ð*), Where ð is the average of the inflation rate over …
3. ### Math Growth Rate w/ inflation

In a country where inflation is a concern, prices have risen by 50 % over a 3-year period. (a) By what percent B do the prices rise each year?
4. ### Math

The inflation rate in the united states in 2014 was about 1.3%. If prices go up by 1.3% per year, how long will it take for them to double?
5. ### Social Studies (Check Please!)

Inflation Primarily differs from deflation in that 1 Inflation tracks changing prices but deflation does not 2 inflation relates to rising rather than falling prices 3 Inflation happens only when the money supply is too small 4 inflation …
6. ### math

How long will it take for prices to double if the rate of inflation is 25% per annum
7. ### Maths

How long will it take for prices to double if inflation rate is 6% per annum for the next 15 years
8. ### Econ

If the rate of inflation is 4% per year, how long will it take for prices to double?
9. ### History Help Plz

a cashier gives one person a \$5 bill and 15 \$1 bills in exchange for a \$20 bill. He gives a second person a \$10 bill, a \$5 bill and five \$1 bills in exchange for a \$20 bill whcih characteristic of money does this illustrate A. Durability …
10. ### Social Studies

What two types of money are commonly used in the U.S today?

More Similar Questions