Question
This is PHP Website language and this is ((((not java or C ++)))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Metro Bank Mortgage Calculator You've been hired to do some programming
This is PHP Website language and this is ((((not java or C ++)))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Metro Bank Mortgage Calculator You've been hired to do some programming for Metro Bank. They want you to create a program to calculate loan payments. The user will enter the amount of money to borrow from the bank, the annual interest rate percentage (that will be compounded monthly) and the number of years to pay back the loan. The program will then display the monthly payment and the total amount of interest that will be paid.
Formulas & Code Specifications
Here are the formulas you will use.
Periodic Payment: Let
A = amount of the loan r = interest rate per period (for this calculation, 1 period is 1 month) n = the number of periods (i.e. the number of months)
Then the formula to find the monthly payment is:
Remember, when doing calculations with percentages, you need to use the decimal equivalent. So given a percentage rate of 7.5% you want to use the value 0.075.
Total Interest Paid:
Let
P = the monthly payment n = the number of months A = amount of the loan
Then the formula to find the total interest is:
Total Interest = nP - A
How to Get Started:
Download the code skeleton LoanCal.php and main.css to your assignment2 to start
-------------------LoanCal.php ----------------------------------------
https://www.dropbox.com/skiiw878o5a3xik/LoanCal.php?dl=0
---------------- main.css--------------------
https://www.dropbox.com/s/rsqbwdaoy1nshfw/main.css?dl=0
------------------
Test
The outlook and functionalities should be similar to a sample at icoolshow.net/zwu/assignment2/loanCalculator.php (Links to an external site.)Links to an external site.
Documentation & Style Specifications
Include header comments at the top of the file listing that has your name, date, the class, and a description of the program. The description should be one or 2 lines long describing what the program does.
Use descriptive variable names.
Include proper blank linesand indentation.
Grading
/4 program runs correctly, including proper units and formatting /1 proper comments; good variable names; indenting; blank lines
payment -ArStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started