Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using python please 3. Write a Python program that does the following: a) Reads in a principal amount (a floating point number) b) Reads in

Using python please image text in transcribed
3. Write a Python program that does the following: a) Reads in a principal amount (a floating point number) b) Reads in the annual percentage interest rate for the investment c) Displays the number of years it will take for the investment to double NOTE: DO NOT USE THE "RULE OF 72" Sample runs are shown below: Enter principal amount: 1000.00 Enter percentage annual interest rate: 6.25 It will take 12 years for the investment to double Enter principal amount 2000.00 Enter percentage annual interest rate: 4.5 It will take 16 years for the investment to double

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

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions

Question

What is DDL?

Answered: 1 week ago