Question: Java Write a program in Java that checks if the user is eligible for a loan or not. Your program should prompt the user enter

Java

Write a program in Java that checks if the user is eligible for a loan or not. Your program should prompt the user enter credit score and annual salary. If the users credit score is above 700 and salary is higher than 80,000, then the user is eligible for a third of the salary. Otherwise, the user is not eligible for a loan. See sample program below: You will need &&/|| (and/or) operators to make sure both inputs meet requirements. Sample programs: Enter your credit score >>> 750 Enter your annual salary >>> 98000 You are eligible to borrow 32666 Enter your credit score >>> 705 Enter your annual salary >>> 78000 You are not eligible for a loan Enter your credit score >>> 600 Enter your annual salary >>> 78000 You are not eligible for a loan

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!