Write a python program to calculate simple and compound interest when principal, rate and time are given
Added by Cristina S.
Step 1
Step 1: Ask the user to input the principal amount, rate of interest and time period. Show more…
Show all steps
Your feedback will help us improve your experience
Dominador Tan and 63 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Python program to calculate simple interest. If the time is less than 5 years, then the rate of interest will be 6%; otherwise, it will be 6.5%.
Shelayah R.
write a program in Java to accept the principal rate and time . Calculate and display the interest accumulated for the first year, second year and third year compounded annually .
James K.
(Financial application: compare loans with various interest rates) Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Sample Run Loan Amount: 10000 Number of Years: 5 Interest Rate Monthly Payment Total Payment 5.000% 188.71 11322.74 5.125% 189.29 11357.13 5.250% 189.86 11391.59 ... 7.875% 202.17 12129.97 8.000% 202.76 12165.84 PYTHON CODING
Willis J.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD