Question: Must be done in Python coding language Project 10-3: Interest Calculator Create a program that calculates the interest on a loan. This program should make

Must be done in Python coding language Must be done in Python coding language Project 10-3: Interest Calculator Create

Project 10-3: Interest Calculator Create a program that calculates the interest on a loan. This program should make it easy for the user to enter numbers. Console Specifications - Use the Decimal class to make sure that all calculations are accurate. The program should round the interest that's calculated to two decimal places, rounding up if the third decimal place is five or greater. - The interest rate that's displayed can have up to 3 decimal places. - Assume that the user will enter valid decimal values for the loan amount and interest rate with these. exceptions: - If the user enters a dollar sign (\$) at the beginning of the loan amount, remove it from the string before converting the string to a number. - If the user enters a comma in the loan amount, remove it from the string before converting the string. - If the user enters a K at the end of the loan amount, remove the K from the end of the string, and multiply the loan amount by 1000 . For example, a loan amount of 50K should be converted to a value of 50,000 . - If the user enters a percent sign (%) before or after the interest rate, remove it from the string before converting the string to a number

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 Databases Questions!