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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education