logo
logo

Loan Eligibility Checker

Beginner

Loan Eligibility Checker

Write a function that takes a person's age and salary as input and logs to the console whether they are eligible for a loan. A person is eligible for a loan if they are older than 21 years and their salary is greater than 5000.

Console
Submit
Solution
00:00