Question: Complete using Java Saved 30 points possib You are being asked to write code for bank that will make a simple determination of whether a

 Complete using Java Saved 30 points possib You are being asked

to write code for bank that will make a simple determination of

Complete using Java

Saved 30 points possib You are being asked to write code for bank that will make a simple determination of whether a loan applicant will receive a loan. The logic behind the loan decision should be as follows: False True salary >= 30000 Display "You must earn at least $30,000 per year to quality False True yearsOnJob >= 2 Display "You must have been on your current job for at least two years to quality Display "You quality for the loan." Loan Qualifier.java New 1. import java.util.Scanner; 2 I 4 This program demonstrates a nested if statement. 5 / 6 public class LoanQualifier 8. 9 public static void main(String[] args) 10 { 11 double salary; 30000 11 Annual salary 12 double yearsOnJob;2 // Years at current job 13 14 // Create a Scanner object for keyboard input. 15 Scanner keyboard = new Scanner(System.in); 16 17 // Get the user's annual salary. 18 System.out.print("Enter your annual salary: "); 19 salary = keyboard.nextDouble(); 20 21 11 Get the number of years at the current job. 22 System.out.print("Enter the number of years 23 LLLL "at your current job: - 24 yearsOn Job - keyboard.nextDouble()

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!