Create a C/C++ project for a student loans system. The program processes applications for loans for first year students and accepts or rejects applications based on points awarded towards specified criteria. The program must ask the user to enter the ID number of the applicant. The program must validate the ID number which should contain 13 digits. If the ID number is invalid the application will not be processed. Display a suitable message ask whether another application must be processed (Y or N). If the ID number is valid, the program must ask the student’s age, ask the user to enter the parents’ income per month and the average mark achieved by the applicant in Grade 12. The program must use the information and the following criteria (Table 1.2) to award points towards the loan application: An application will be accepted if the applicant is older than 16 and younger than 21 and was awarded 5 or more points. Display a summary of the student’s application which includes the IDnumber, age, parent’s income, average mark, points awarded and outcome (Accepted or Rejected). See the screenshot below (Figure 1.2) for example output.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter9: Working With Text Functions And Creating Custom Formats
Section: Chapter Questions
Problem 1.7CP
icon
Related questions
Question

Create a C/C++ project for a student loans system. The program processes applications for loans for first year students and accepts or rejects applications based on points awarded towards specified criteria.

The program must ask the user to enter the ID number of the applicant. The program must validate the ID number which should contain 13 digits. If the ID number is invalid the application will not be processed. Display a suitable message ask whether another application must be processed (Y or N). If the ID number is valid, the program must ask the student’s age, ask the user to enter the parents’ income per month and the average mark achieved by the applicant in Grade 12. The program must use the information and the following criteria (Table 1.2) to award points towards the loan application:

An application will be accepted if the applicant is older than 16 and younger than 21 and was awarded 5 or more points. Display a summary of the student’s application which includes the IDnumber, age, parent’s income, average mark, points awarded and outcome (Accepted or Rejected). See the screenshot below (Figure 1.2) for example output.

 

Inkomste per maand /Income per month
Punte toegeken / Points awarded
<=5000
<=10 000
3
<=15 000
> 15 000
1
Gemiddelde punt / Average mark
Punte toegeken / Points awarded
>=80
5
>=70
3
<70
1
Tabel 1.2 / Table 1.2
Transcribed Image Text:Inkomste per maand /Income per month Punte toegeken / Points awarded <=5000 <=10 000 3 <=15 000 > 15 000 1 Gemiddelde punt / Average mark Punte toegeken / Points awarded >=80 5 >=70 3 <70 1 Tabel 1.2 / Table 1.2
Enter ID of applicant: 0123456789123
Enter age of applicant: 17
Enter income: 5523.55
Enter average mark: 88.54
===== ===== ===== ===== ===== ==
Summary of application
===:
====:
========== ======
IDnumber: 0123456789123
Age: 17
Income: 5523.55
Average mark: 88.54
Points: 8
Outcome: Accept
=========== ==:
====== ======
Do you want to process another application (Y|N)? N
Process returned 0 (0xe)
Press any key to continue.
execution time : 36.438 s
Figuur 1.2 / Figure 1.2
Transcribed Image Text:Enter ID of applicant: 0123456789123 Enter age of applicant: 17 Enter income: 5523.55 Enter average mark: 88.54 ===== ===== ===== ===== ===== == Summary of application ===: ====: ========== ====== IDnumber: 0123456789123 Age: 17 Income: 5523.55 Average mark: 88.54 Points: 8 Outcome: Accept =========== ==: ====== ====== Do you want to process another application (Y|N)? N Process returned 0 (0xe) Press any key to continue. execution time : 36.438 s Figuur 1.2 / Figure 1.2
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Algebraic Expressions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage