Question
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:
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 nStep 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