ICTPRG520.docx - ICTPRG520 Assessment 1 \u2013 Computer Based Activities\/Practical Demonstration Instructions This assessment needs to be completed in

# ICTPRG520.docx - ICTPRG520 Assessment 1 – Computer Based...

• 15

This preview shows page 1 - 4 out of 15 pages.

Task 1: Formulating the Features for a Financial Calculator 1. Design a financial calculator that will be able to determine the monthly payments for a simple fixed-rate home mortgage. Using the screenshot below create the calculator. To determine the monthly payments required for a fixed rate mortgage, we need three inputs I. The amount of money being borrowed (the principal) II. The loan’s annual interest rate III. The duration of the loan—typically 15 or 30 years (the loan’s term) Example: ICTPRG520 Assessment Task 1 Page 2 2386 EHONG HENG
Task 1 - Answer Source Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication1 { public partial class _Default : System.Web.UI. Page { protected void Page_Load( object sender, EventArgs e) { } protected void Button1_Click( object sender, EventArgs e) { double Loan_Amount = Convert .ToDouble(TextBox1.Text); double Interest_Rate = 0.01 * Convert .ToDouble(TextBox2.Text) / 12; double Length = Convert .ToDouble(TextBox3.Text) * 12; double PartA = Math .Pow(1 + Interest_Rate, Length); double PartB = Interest_Rate * PartA;

#### You've reached the end of your free preview.

Want to read all 15 pages?

• Fall '19
• Intel Core, Arrandale, EHONG HENG

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern