Kindly do me favour with this: the criteria to qualify to get a loan form Zed bank is described as follows. First the applicant must have an account with the bank. If the applicant does not have an account with the bank, they are given the message, "please open an account before applying". If the applicant has an account, the period of time the applicant has been with the bank is checked. If the period is less than 2 years , the applicant is given the message, "you have not banked with us for more than two years". If the period is 2 or more years, the credit record is then Checked. If the credit is "bad", the applicant is given a message, "your credit history is bad". If the credit is "good", the applicant is asked for the amount they would like to borrow. If amount entered is above $250,000, the applicant is given a message. "The maximum credit allowed is $250,000". If the amount is between $500 to $250,000, the applicant is given the message, "congratulations you qualify to get a loan". if the amount is below $500, the applicant is given the message, "the amount i below the minimum limit". Write a program that uses nested if statement to determine whether a person qualifies for a loan or not.