Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need this before 2/9. The above photo needs to be a C++ program for a loan application system. the program should be menu driven also

image text in transcribed
need this before 2/9.
The above photo needs to be a C++ program for a loan application system. the program should be menu driven also switch statement
for your menu
thanks
Lesson 4 Programming Assignment Loan Application Objective Create a C++ program for a loan application system. The program should be menu-driven. Use a switch statement for your menu. 1. Apply for a loan 2. Refinance a loan 3. Cancel loan application Applying for a loan When a user chooses to apply for a loan, the program should ask for their age. If they are not at least 18, the program should display the following message and exit. Sorry! You must be at least 18 years old to apply. the user is at least 18 the program should then ask for the user's income. Store this information in a variable of type double. The program should now determine eligibility based on the following criteria. Eligibility If the applicant is between 18-25 and their income is at least 35,000, they are approved for a maximum amount of 50,000, else they are approved for a maximum amount of 25,000. Otherwise if the applicant is less than 85 years old and the income is at least 50,000, they are approved for a max amount of 100,000. All others are approved for a max of 75,000. Use nested if statements and relational operators in this determination. Display the results to the user. Refinancing a loan If a user chooses to refinance a loan, the program should ask the user for their loan balance. If the balance is over 50,000, they can refinance for 72 months. Otherwise they can refinance for 60 months. Use a conditional statement in this determination. Display the results to the user. Cancelling an application If a user chooses to cancel an application, the program should ask the user for the loan amount applied for. If the loan amount is under 25,000, the user incurs no processing fee. If the loan is between 25,000 -50,000, the user incurs a 1% processing fee. Otherwise, the user incurs a 3% processing fee. Display the results to the user. Coding Take care to use proper coding techniques and formatting. Add comments where they logically make sense. Your code must compile in order to receive any credit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

3. What were the main limitations of this study?

Answered: 1 week ago