Object-Oriented Programming Project: Loan Amount Calculator (MITS4002)
VerifiedAdded on 2025/04/29
|8
|225
|421
AI Summary
Desklib provides past papers and solved assignments for students. This project compares loan amounts for 5 and 10 years using Java.

MITS4002
OBJECT-ORIENTED SOFTWARE
DEVELOPMENT
Activity 07
Project:
Student ID:
Student full name:
Total Points:
Contents
OBJECT-ORIENTED SOFTWARE
DEVELOPMENT
Activity 07
Project:
Student ID:
Student full name:
Total Points:
Contents
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Establishment the requirements:................................................................................................
Create a design:..........................................................................................................................
Implement the code:...................................................................................................................
Output:........................................................................................................................................
Testing the implementation:.......................................................................................................
Create a design:..........................................................................................................................
Implement the code:...................................................................................................................
Output:........................................................................................................................................
Testing the implementation:.......................................................................................................

Establishment of the requirements:
Write a Java program to compare the loan amount of two different years, 5 & 10 years of the
base amount 10,000. This calculation based on different interest rates. Take input from the
user side in the form of interest rate and get the output to compare both.
Create a design:
Declare datatypes in the program like, double, string, int
Create a main class named as args to find the rate of interest
Use while loop in the program with try function
Calculate the amount of two different years with the different rate of interest
Use class “calculateComparingLoanAmount” for calculation
Write a Java program to compare the loan amount of two different years, 5 & 10 years of the
base amount 10,000. This calculation based on different interest rates. Take input from the
user side in the form of interest rate and get the output to compare both.
Create a design:
Declare datatypes in the program like, double, string, int
Create a main class named as args to find the rate of interest
Use while loop in the program with try function
Calculate the amount of two different years with the different rate of interest
Use class “calculateComparingLoanAmount” for calculation
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Implement the code:
Provide the screenshot of the coding part as below:
Figure 1: Source Code
Provide the screenshot of the coding part as below:
Figure 1: Source Code
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Output:
Provide the output of the compare loan amount of 5 & 10 years as below:
Figure 2: For 5 years
Provide the output of the compare loan amount of 5 & 10 years as below:
Figure 2: For 5 years

Figure 3: For 5 years
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Figure 4: For 10 Years
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 5: For 10 years
Testing the implementation:
The any of de-bug and error found in testing of the program
Output found correct after manually check
Enter two different years from the user side to get different values and to test the
program
Testing the implementation:
The any of de-bug and error found in testing of the program
Output found correct after manually check
Enter two different years from the user side to get different values and to test the
program
1 out of 8
Related Documents

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.