Question: I need to build a simple mortgage calculator using xcode swift based on the following instructions The three inputs would be text boxes and the

I need to build a simple mortgage calculator using xcode swift based on the following instructions

The three inputs would be text boxes and the output would be a label.

I need to build a simple mortgage calculator using xcode swift based

Instructions In this assignment you are going to develop a Swift program to calculate the amount of a mortgage payment. Refer to the appropriate video or any online source for how the mathematics of the calculation works. You program should prompt the user for text-based input of: The amount of the loan in whole dollars, The number of payments (e.g. 360 for 30-year), and The interest rate per payment period in percent (a positive floating-point number). The program should print out the correct value (in dollars and cents) of the monthly payment of principal and interest (ignore escrow accounts, taxes, and insurance) for the following scenarios: 72-month loan of $20,000, 4.4% APR, compounded monthly and 30-year loan of $150,000, 5% APR, one annual payment each year for 30 years. There are many loan calculators online you can use to check your work. Once you have the calculation working in a playground, write an iOS app for a loan payment calculator. The user interface should have 1. Three text boxes, with labels, for a. Loan amount in dollars. b. Number of payments, c. Interest rate per payment period, 2. A button to calculate the amount of the payment. 3. A label for the payment amount. When the button is clicked, the number for the payment amount that is correct for the numbers presently in the text boxes should appear beside the label for the payment amount. Deliverables 1. Transcript of the playground being entered and running. 2. Xcode project directory, zipped for the payment calculator. Instructions In this assignment you are going to develop a Swift program to calculate the amount of a mortgage payment. Refer to the appropriate video or any online source for how the mathematics of the calculation works. You program should prompt the user for text-based input of: The amount of the loan in whole dollars, The number of payments (e.g. 360 for 30-year), and The interest rate per payment period in percent (a positive floating-point number). The program should print out the correct value (in dollars and cents) of the monthly payment of principal and interest (ignore escrow accounts, taxes, and insurance) for the following scenarios: 72-month loan of $20,000, 4.4% APR, compounded monthly and 30-year loan of $150,000, 5% APR, one annual payment each year for 30 years. There are many loan calculators online you can use to check your work. Once you have the calculation working in a playground, write an iOS app for a loan payment calculator. The user interface should have 1. Three text boxes, with labels, for a. Loan amount in dollars. b. Number of payments, c. Interest rate per payment period, 2. A button to calculate the amount of the payment. 3. A label for the payment amount. When the button is clicked, the number for the payment amount that is correct for the numbers presently in the text boxes should appear beside the label for the payment amount. Deliverables 1. Transcript of the playground being entered and running. 2. Xcode project directory, zipped for the payment calculator

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!