Write a C++ program to develop a Vehicle Fine Management System for Police. The program will have che following features. 1. A user defined function called "Student Registration". This function prompts a user to enter a student's personal data i.e., Student Number, Student Name, Age and City and stores them. 2. A user defined function called "Module Enrolment". This function takes student number from the main function as an argument and prompts a user to enter student two modules details i.e. Module name, Module Code and Module Credits Hours (15 or 30) and stores them. The programs should display an error message if a user enters credit hour other than 15 or 30. 3. A user defined function called "Student Assessment". This function takes student number from the main function as an argument and prompts a user to enter Module 1 and Module 2 marks and stores them. 4. A user defined function which takes a Student ID and search option (1 for Personal data search, 2 for Module Search and 3 for Assessment Search) from the main function and Searches Student data

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
Write a C++ program to develop a Vehicle Fine Management System for Police. The program will have
the following features.
A user defined function called "Student Registration". This function prompts a user to enter a
student's personal data i.e., Student Number, Student Name, Age and City and stores them.
1.
2. A user defined function called "Module Enrolment". This function takes student number from the
main function as an argument and prompts a user to enter student two modules details i.e. Module
name, Module Code and Module Credits Hours (15 or 30) and stores them. The programs should
display an error message if a user enters credit hour other than 15 or 30.
3. A user defined function called "Student Assessment". This function takes student number from the
main function as an argument and prompts a user to enter Module 1 and Module 2 marks and stores
them.
4.
A user defined function which takes a Student ID and search option (1 for Personal data search, 2 for
Module Search and 3 for Assessment Search) from the main function and Searches Student data
according to the option (1,2 or 3)
You are also required to create a Menu in the main function which displays all the above options to a user.
Upon selection of an option from the Menu, program will call the relevant function and will pass the
arguments. The program will also have an option to exit the menu that will end the program.
Bonus Task:
Develop the program with Graphics properties to give a better look to your program. You need to explore
the graphics libraries available in C++ e.g. <Graphic.h>
Sample Output:
*************************************
* Welcome to Student Management System *
****** *****
****** *****
1- Student Registration
2- Module Enrollment
3- Student Assessment
4- Search Student
5- Exit
Enter your choice (1-5): 2
Enter Student ID: 11111111
Enter Module 1 Name: PDI
Enter Module 1 Code: UFCEXX-30-1
Modules Enrolled
Similarly, you will have output for all the above options.
Transcribed Image Text:Write a C++ program to develop a Vehicle Fine Management System for Police. The program will have the following features. A user defined function called "Student Registration". This function prompts a user to enter a student's personal data i.e., Student Number, Student Name, Age and City and stores them. 1. 2. A user defined function called "Module Enrolment". This function takes student number from the main function as an argument and prompts a user to enter student two modules details i.e. Module name, Module Code and Module Credits Hours (15 or 30) and stores them. The programs should display an error message if a user enters credit hour other than 15 or 30. 3. A user defined function called "Student Assessment". This function takes student number from the main function as an argument and prompts a user to enter Module 1 and Module 2 marks and stores them. 4. A user defined function which takes a Student ID and search option (1 for Personal data search, 2 for Module Search and 3 for Assessment Search) from the main function and Searches Student data according to the option (1,2 or 3) You are also required to create a Menu in the main function which displays all the above options to a user. Upon selection of an option from the Menu, program will call the relevant function and will pass the arguments. The program will also have an option to exit the menu that will end the program. Bonus Task: Develop the program with Graphics properties to give a better look to your program. You need to explore the graphics libraries available in C++ e.g. <Graphic.h> Sample Output: ************************************* * Welcome to Student Management System * ****** ***** ****** ***** 1- Student Registration 2- Module Enrollment 3- Student Assessment 4- Search Student 5- Exit Enter your choice (1-5): 2 Enter Student ID: 11111111 Enter Module 1 Name: PDI Enter Module 1 Code: UFCEXX-30-1 Modules Enrolled Similarly, you will have output for all the above options.
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
ADT and Class
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
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