Question: i want code in C++ . As soon as possible Q3[30] A bank lends people based on certain criteria. The Bank, only lends to people
Q3[30] A bank lends people based on certain criteria. The Bank, only lends to people who are over 21 years of age, who make over $25,000 per year, or have over $100,000 in their account, or both ( $25,000,>$100,000 ) The bank calculate the loan as follows: In case double the income is less than 1/2 the balance then loan will be double the income. Otherwise loan will be half the balance. Write a looping (while loop) C++ program that implement the above loan calculation and stops when 99 entered by the user. Test your program with all test cases below: Please enter your age in years or 99 to quit: 25 Please enter your annual income in dollars: 28000 What is your current account balance in dollars: 185000 You can borrow up to $56000 Please enter your age in years or 99 to quit: 22 Please enter your annual income in dollars: 9000 What is your current account balance in dollars: 200000 You can borrow up to $18000 Please enter your age in years or 99 to quit: 30 Please enter your annual income in dollars: 50000 What is your current account balance in dollars: 50000 You can borrow up to $25000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
