Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The rule of ' 7 2 ' is used to quickly approximate how rapidly an investment, at a fixed interest rate, will double. If you

The rule of '72' is used to quickly approximate how rapidly an investment, at a fixed interest rate, will double. If you divide 72 by the interest rate (as a percent) you will get years. Example an investment earning 10% would double in approximately 7.2 years (72/10). Write a program to display the number of years to double an investment at 5.5%. Place the interest rate in the variable i, your calculation in the variable y, and print the result.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions