Object-Oriented Programming Project: Loan Amount Calculator (MITS4002)
VerifiedAdded on 2025/04/29
|6
|211
|480
AI Summary
Desklib provides past papers and solved assignments for students. This project demonstrates a Java loan calculator.

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

Contents
Establishment of the requirements:............................................................................................3
Create a design:..........................................................................................................................3
Implement the code:...................................................................................................................3
Output:........................................................................................................................................4
Testing the implementation:.......................................................................................................6
Establishment of the requirements:............................................................................................3
Create a design:..........................................................................................................................3
Implement the code:...................................................................................................................3
Output:........................................................................................................................................4
Testing the implementation:.......................................................................................................6

Establishment of the requirements:
Write a program in Java to calculate total loan amount of two different sums on different
interest rates for the same years. Take input from the user side and use different variables
with functions to write a program and get output.
Create a design:
The design part includes the public class named as “Activity 7”
Use try and catch function to get and print the output
Use “double” datatype to get the total loan amount of different values
Follow the formula to calculate the total sum and get output
Implement the code:
Figure 1: Code of the program
Write a program in Java to calculate total loan amount of two different sums on different
interest rates for the same years. Take input from the user side and use different variables
with functions to write a program and get output.
Create a design:
The design part includes the public class named as “Activity 7”
Use try and catch function to get and print the output
Use “double” datatype to get the total loan amount of different values
Follow the formula to calculate the total sum and get output
Implement the code:
Figure 1: Code of the program
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Output:
Get the output of total loan of two different sums as below:
Figure 2: Output 1
Figure 3: Output 2
Get the output of total loan of two different sums as below:
Figure 2: Output 1
Figure 3: Output 2
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 4: Output 3
Figure 5: Output 4
Figure 5: Output 4

Figure 6: Output 5
Figure 7: Output 6
Testing the implementation:
Test both the sample values that enter by the user as the sum to calculate the loan
amount
Cross check with manually and get the same amount of calculation of user’s entry
Figure 7: Output 6
Testing the implementation:
Test both the sample values that enter by the user as the sum to calculate the loan
amount
Cross check with manually and get the same amount of calculation of user’s entry
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 6
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.