Question: Account balance with interest Write a program to compute the new balance of a user's bank account when an interest rate ( a percentage )

Account balance with interest
Write a program to compute the new balance of a user's bank account when an interest rate (a percentage) is applied. Prompt the user for their starting balance and calculate the new balance of the account with the interest added in. Assume the interest rate is stored in the variable interest_rate.
Print the new balance of the account showing the new balance to two significant places (do not attempt to set the overall width of the output (ie: {:12.3f})). Your solution should match our output format and must use the format) method.
Execution example:
What is the user's account balance (a float)?10.04
With interest, the new account balance is: $10.41

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!