Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write an interactive C++ program that determines the status of a customer's loan application at a bank. The program should read in the customer's
Write an interactive C++ program that determines the status of a customer's loan application at a bank. The program should read in the customer's id number (e.g. C3182312), checking account balance, and savings accounts balance. The program should print the customer's id number and determine and print a message indicating the status of the customer's loan application to the output data file status.txt. The status of the loan application is determined based on the following: If the checking account balance is greater than or equal to $500 and the savings account balance is greater than or equal to $1000, the Loan is APPROVED. If the checking account balance is less than $500, but the savings account balance is greater than or equal to $1000, the loan is CONDITIONALLY APPROVED. If the checking account balance is less than $500 and the savings account balance is less than $1000, the Loan is REJECTED.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
include iostream include fstream include string int main stdstring customerId double checkingBalance ...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