Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective Create a C# program for a loan application system. The program should be menu driven. Use a switch staternent for your menu. 1. Apply

image text in transcribed
Objective Create a C# program for a loan application system. The program should be menu driven. Use a switch staternent 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. If 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. 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 50 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 396 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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

What roles have these individuals played in your life?

Answered: 1 week ago

Question

1. Write down two or three of your greatest strengths.

Answered: 1 week ago