Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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.phpimage text in transcribed and main.cssimage text in transcribedimage text in transcribed 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 -Ar

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

More Books

Students also viewed these Databases questions

Question

Question What is a Roth 401(k) feature?

Answered: 1 week ago

Question

Question Can employees make contributions to a profit sharing plan?

Answered: 1 week ago