Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Modify the code in python thank you. # Activity 2 . 2 #This program determines whether a bank customer # qualifies for a loan. MIN
Modify the code in python thank you.
# Activity
#This program determines whether a bank customer
# qualifies for a loan.
MINSALARY # The minimum annual salary
MINYEARS # The minimum years on the job
CREDITSCORE
# Get the customer's annual salary.
salary floatinputEnter your annual salary:
# Get the number of years on the current job.
yearsonjob intinputEnter the number of
'years employed:
# Determine whether the customer qualifies.
if salary MINSALARY:
if yearsonjob MINYEARS:
printYou qualify for the loan.
else:
printYou must have been employed', I
'for at least', MINYEARS, I
'years to qualify.
else:
printYou must earn at least $ I
formatMINSALARY, I
per year to qualify. sep
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started