Skip to content

GianPalmares/Finance-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Finance-Calculator

Investment and Bond Calculator This Python script serves as an investment and bond calculator, allowing users to calculate the amount of interest earned on an investment or the monthly repayment for a home loan (bond). The script uses a console-based menu system and incorporates error handling for user inputs.

Features Investment Calculation Users can choose the 'investment' option to calculate the interest earned on an investment. Inputs required: principal amount, interest rate, investment period in years, and the type of interest (simple or compound). The script performs error handling to ensure valid numerical inputs. Bond Calculation Users can choose the 'bond' option to calculate the monthly repayment for a home loan. Inputs required: home value, interest rate, repayment period in months. The script calculates the monthly repayment using the bond repayment formula and incorporates error handling for user inputs. Usage Run the script in a Python environment. Choose either 'investment' or 'bond' from the provided menu. Follow the prompts to enter the required information. The script performs error handling to ensure valid inputs. The calculated results are displayed.

Notes The script uses the math module for mathematical calculations. Error handling ensures the script handles invalid inputs gracefully. Feel free to use and modify the script to suit your needs!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages