Boolean Logic Evaluator

Specification Sheet

Program Name: Boolean Logic Evaluator
Description: This Java program demonstrates the extensive use of boolean logic in decision-making. It evaluates multiple conditions such as eligibility for a loan based on criteria like age, income, credit score, and debt.

Inputs:

Outputs:

Boolean Logic Usage:

Author: [Your Name]
Date: [Date]

Pseudocode

1. Input: Get user details (age, income, credit score, debt).
2. Validate inputs (e.g., age > 0, income > 0, credit score within range).
3. Apply loan eligibility criteria using boolean logic:
    - Age >= 18 AND Age <= 65
    - Income >= 25000 OR Credit Score >= 700
    - NOT (Debt > 0.5 * Income)
4. If all conditions are met, user is eligible for the loan.
5. Output eligibility status and detailed explanation.
        

Java Code

import java.util.Scanner;

public class BooleanLogicEvaluator {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

      ******************* You will need to supply the rest of the code ***************
        
In this lesson, you will write a program running Java.
We using boolean expression
            
            You will drop off 4 files into Google Classroom:
            • Your files will be: (Remember the python program is dropped off first.)
                • PX_lastname_Boolean.java (Java program)
				• PX_lastname_BooleanPaper.png (Screenshot of class notes)
                • PX_lastname_Boolean.png (Screenshot inside Eclipse)
                • PX_lastname_Boolean.mp4 (Video running the program)

            
                 If you do not understand this assignment,
                 ask Mr. Cusack and/or attend tutorials.