Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please creat the full C# Program following the introduction blew, Thank you so much. Introduction: May the UI well to make your application clear

Please creat the full C# Program following the introduction blew, Thank you so much.

Introduction:

"

May the UI well to make your application clear to the user. Something better than this. Also make the dropdown for rates more complete (offer more choices from .25% to 10% by .25 percent, so .25%, .50%, .75%, 9.75 and finally 10%).

Note: there are THREE pages (show as image): One for the loan info, one for viewing past loan entered, and one to clear the loans file.

You should use a user control that contains the h1 tag with the text Mortgage Calculator and a menu to enable nav between pages.

Youll write each mortgage calculation into a file to capture all mortgage information, which the List Mortgage page will use to display

Youll clear the file containing the mortgage history in the Clear Mortgages page

Output image:

image text in transcribed

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.

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

// use the function to calculate the monthly payment

private double ComputeMonthlyPayment(double principal, double years, double rate)

{

double monthly = 0;

double top = principal * rate / 1200.00;

double bottom = 1 - Math.Pow(1.0 + rate / 1200.0, -12.0 * years);

// http://www.bankrate.com/calculators/mortgages/loan-calculator.aspx

monthly = top / bottom;

//Console.WriteLine();

//Console.WriteLine("With a principl of ${0}, duration of {1} years and a interest rate of {2}% the monthly loan payment amount is {3:$0.00}", principal, years, rate, monthly);

return monthly;

}

Output the amount of the monthly payment.

"

Olocalhost 65210/WebForm1.aspx Mortgage calculator Calc Mortgage List Mortgages Clear Mortgages Calculate Mortgage Monthly Payment Please enter the principle amount Please enter the loan duration in years O 15 Years O 30 Years O Other Please select the interest rate [1 Monthly Payment Olocalhost 65210/WebForm1.aspx Mortgage calculator Calc Mortgage List Mortgages Clear Mortgages Calculate Mortgage Monthly Payment Please enter the principle amount Please enter the loan duration in years O 15 Years O 30 Years O Other Please select the interest rate [1 Monthly Payment

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

How would you suggest e-marketers solve the last-mile problem?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago