Write an interactive C++ program that determines the status of a customer's loan application at a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
include iostream include fstream include string int main stdstring customerId double checkingBalance ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
DON'T SUMMARIZE JUST PARAGRAPH OF WHAT YOU THOUGHT/LEARNED CHAPTER 13 - The phrase "garbage in, garbage out" highlights the importance of input controls. If the data entered into a system are...
-
An algorithm has been written in pseudocode to input some numbers. It only outputs any numbers that are greater than or equal to 100. The number 999 is not output and stops the algorithm. INPUT...
-
Recruitment and selection involves the following except: a) building a pool of candidates. b) applicants completing application forms. c) downsizing the organization. d) employment planning and...
-
Examine each of the following situations and state whether you would expect to find a high correlation between the variables. Give reasons why an observed correlation cannot be interpreted as a...
-
According to Forrest Gump, Life is like a box of chocolates. You never know what youre gonna get. Suppose a candymaker offers a special Gump box with 20 chocolate candies that look alike. In fact, 14...
-
An engineer performed an experiment to determine the effect of $\mathrm{CO}_{2}$ pressure, $\mathrm{CO}_{2}$ temperature, peanut moisture, $\mathrm{CO}_{2}$ flow rate, and peanut particle size on the...
-
Determine the interest on the following notes. (Round to the nearest cent.) a. $58,940 at 6 percent for 60 days. b. $14,280 at 9 percent for 30 days. c. $30,600 at 12 percent for 60 days. d. $21,070...
-
Discuss your experience with the creation of user and group accounts in other OSs such as Windows 10 or Windows Server 2019. What do you feel are some of the advantages and disadvantages of the...
-
If a 2.0 kg mass is hanging at rest from a string, what is the tension in the string?
-
Write a class PieChart with methods: that displays a pie chart of the added values. Assume that all data values are positive. public void add(double value) public void draw (Graphics2D g2)
-
An example of directness, which moves swiftly into spite, is shown in Figure 5.4, where UK retailer Argos had many angry customers taking to Twitter and explaining that the traditional telephone...
-
Repeat Exercise E8.9 , using multiple classes. Provide a GradeBook class that collects objects of type Student. Data from Exercise E8.9 Modify the application of How To 7.1 so that it can deal with...
-
Google spends a significant amount on research: as an example, at the end of 2016 it had 27,169 full-time employees working in research and development and spent nearly $14 billion on research...
-
In 1895 John Deere launched The Furrow magazine in the United States. The content featured in The Furrow was educational, and it focused on teaching farmers how to be more fruitful business owners,...
-
Once a course or training module is developed in an LMS, it is important to see how the students or instructors are using the system. Every LMS has ability to produce reports that help stakeholders...
-
The company manufactures three products: wooden chairs, tables and dressers. AFC started off as a 'Mom & Pop' shop but has grown rapidly. AFC uses one assembly line to build all three products,...
-
Tesco plc is one of the worlds largest food retailers. Fiscal year 2014 (the year ended February 28, 2015) was a rocky year for the retailer. The companys sales and margins had come under pressure as...
-
Exhibit P2 displays a selected set of financial ratios for the years 20152017 of three fashion retailers: USbased Gap, UK-based Next, and Japan-based Uniqlo (Fast Retailing). Using this set of...
-
In 2009, following the worldwide credit crisis, several US-based car manufacturers, such as Chrysler and General Motors, approached bankruptcy and needed to be bailed out by the US government and...
Study smarter with the SolutionInn App