Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

When consumers apply for mortgages or loans, lenders like banks usually use their credit scores from three credit bureaus ( TransUnion , Equifax, and Experian

When consumers apply for mortgages or loans, lenders like banks usually use their credit
scores from three credit bureaus (TransUnion, Equifax, and Experian) to determine if they
are qualified for the loan and what interest rate they could get. Write a Java program to
simulate a banks loan application and assessment process. We will work on a small task in
it now: prompt and take user input of the three credit scores, and find the highest score to
proceed into the following assessment task, which we will leave for the next HW.
Requirements:
a) Your class should be named LoanApplication, and your source code file
should be saved as LoanApplication.java.
b) Display a welcome message to your users first
c) Prompt and take user input of three credit scores with clear prompt messages. The
credit scores should be entered as integer values. Provide examples or clear instruction
in the prompt messages to avoid incorrect input please.
d)*** Advanced java programmers: to compare and find the highest score, you
MUST use only the skills we have learned in this course so far (i.e., IF
condition). I know you may know existing methods like Math.max() to solve
this problem. But I need to make sure everyone can apply what we learned this
week in practice. Thus in this question for example, DO NOT use Math class
and its method to find max; DO NOT use compound condition (multiple
conditions together) for IFs.
e) What is the best comparison logic to find the highest score among three (or
maybe more in other scenarios)? Hint: Think back to the example where we
compare a line of performers on the stage to find the tallest person.
f) The output of this program should display the highest score with a full
message.
g) Comments, programming style, compiling and executing, and submission
requirements are the same as those in HW1.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions