MITS4002: Object-Oriented Software Development - Loan Calculator

Verified

Added on  2019/10/18

|3
|414
|301
Homework Assignment
AI Summary
This document presents a solution to a programming assignment for MITS4002, focusing on developing a loan calculator program. The assignment requires students to create a program that calculates and displays monthly and total payments for a given loan amount and period, across a range of interest rates. The solution includes the problem description, analysis of the problem including inputs and outputs, design steps for the program, source code formatted using Courier 10pts, a screenshot of the program's output, and a description of the testing process. The program calculates payments for interest rates ranging from 5% to 8% with increments of 0.125%. The document showcases the application of programming principles to solve a practical financial problem, demonstrating the use of loops and mathematical formulas to generate the required output. The assignment aims to test the students' understanding of programming concepts, problem-solving skills, and the ability to translate a real-world problem into a software solution.
Document Page
MITS4002
OBJECT-ORIENTED SOFTWARE
DEVELOPMENT
Activity 07
Due: Monday Lesson 09
50% deduction for Late Submission within one week
0 mark for Late Submission more than one week
0 mark for duplicated Submission or Shared Work
You will be marked based on your submitted zipped file on Moodle. You are
most welcome to check your file with your lab tutor before your submission.
No excuse will be accepted due to file corruption, absence from lecture or lab
classes where details of lab requirements may be given.
Please make sure that you attend Lecture EVERY WEEK as low
attendance may result in academic penalty or failure of this unit.
Student ID:
Student full name:
Total Points (20 pts):
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
MITS4002 Activity 07
Copyright © 2015-2019 VIT, All Rights Reserved. Page 2
Document Page
MITS4002 Activity 07
Project: Comparing Loans
Problem Description:
Write a program that lets the user enter the loan amount and loan period in number of
years and displays the monthly and total payments for each interest rate starting from 5%
to 8%, with an increment of 1/8. Here is a sample run:
<Output>
Loan Amount: 10000
Number of Years: 5
Interest Rate Monthly Payment Total Payment
5.000% 188.71 11322.74
5.125% 189.28 11357.13
5.250% 189.85 11391.59
...
7.875% 202.17 12129.97
8.000% 202.76 12165.83
<End output>
Use the formulas below to compute monthly payment and total payment.
mont h lyPayment=loanAmountmont h lyInterestRate
1 1
¿ ¿ ¿
totalPayment =mont hlyPayment12numberOfYears
Analysis: (Describe the problem including input and output in your own words.)
1
chevron_up_icon
1 out of 3
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]