Question: c + + code Given three variables of type int, creditScore, age, income along with a variable loan of type string, set loan to approved

c++ code Given three variables of type int, creditScore, age, income along with a variable loan of type string, set loan to "approved" just when age is over 20 and at least one of the following conditions are met: a) income strictly greater than sixty thousand and creditScore at least six hundred or b) income strictly greater than forty thousand andcreditScore at least seven hundred. If the requirements fail then set loan to "declined". To get credit, use a single if-else statement and a condition using relational operators >,>=along with logical operators || and && .Do not use more than one occurence of the keyword if or the keyword else in your code.Additional Notes: income, creditScore and age should not be modified

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!