Object-Oriented Programming Project: Loan Amount Calculator (MITS4002)

Verified

Added 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.
Document Page
MITS4002
OBJECT-ORIENTED SOFTWARE
DEVELOPMENT
Activity 07
Project:
Student ID:
Student full name:
Total Points:
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
Contents
Establishment of the requirements:............................................................................................3
Create a design:..........................................................................................................................3
Implement the code:...................................................................................................................3
Output:........................................................................................................................................4
Testing the implementation:.......................................................................................................6
Document Page
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
Document Page
Output:
Get the output of total loan of two different sums as below:
Figure 2: Output 1
Figure 3: Output 2
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
Figure 4: Output 3
Figure 5: Output 4
Document Page
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
chevron_up_icon
1 out of 6
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]