Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Goal: Write a console application mortgage calculator application that calculates the monthly payment for a loan based on the principal, number of years, and interest

Goal:Write a console application mortgage calculator application that calculates the monthly payment for a loan based on the principal, number of years, and interest rate.

Relevant Example:ConvTemp in the Console examples. You will need three inputs instead of one.

Deliverable:Submit a zip file of your .Net Solution file on D2L.

Include labelsto make your application clear to the user.

Detailed Specs:

Input the principal, number of years, and interest rate as string variables.

Convert each of the variables in the preceding step to double or decimal using the double. TryParse or decimal. TryParse method. Prompt the user to reenter any illegal input.

Compute the monthly payment using this formula:

image text in transcribed

p = principal (dollars), n = number of years, r = interest rate (percent), m = monthly payment (dollars).

Use the .Net function call Math.pow(x, y) to compute xy (x raised to the y power).

Output the amount of the monthly payment.

Grading:Functionality: 70%, Well Written: 10%, Comments: 10%, Indentation: 10%,

p r 1200.0 m F 1 (1.0 r 1200.0) -12.0 n

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions