You are asked to write a C console application that implement a system for a simple training center. The training center system should have information about its teachers, courses, students, and registration transactions. Moreover, the system should generate various reports. Here are the classes with their members that you need to create: Data type Variable Name int string String Teacher FirstName LusEName Data type nt string Variable Name CourseNumber CourseName string CourseDescription Course DAY CourseDay Teacher Methods AssignTeacher(Teacher T) Data type Variable Name

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.2: Providing Class Conversion Capabilities
Problem 6E
icon
Related questions
Question
Details:
You are asked to write a C console application that implement a system for a simple training
center. The training center system should have information about its teachers, courses,
students, and registration transactions. Moreover, the system should generate various reports.
Here are the classes with their members that you need to create:
Data type variable Name
int
string
String
Teacher
FirstName
LuEName
Data type
Variable Name
CourseNumber
CourseName
Coursebescripnion
Coursebay
Int
string
string
Course
DAY
Teacher
Methods
AssignTeacher(Teacher T)
Data type
Variable Name
int
Sid
Student
string
string
FirstName
LastName
Data type Variable name
Student
Course
DateTime TransDate
Regitem
Data type Variable name
Regitem Regitems
Metheds
Array or collection
Adds a new Regitem and return brue ifRis not
in the Regitems, otherwise do nothing and
return fale
Add all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at position
Kinserted successfuly, then the return bool
array at position K should be true, otherwise
fale
Delete the Regtem that is equal to Rand
retum true. Otherwise, do nothing and return
false
Delete all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at poution
x deleted successtully, then the retum bool
bool AddRegitemegitem R
bool AddAIRegitemsRegitem)
Registration
bool DeleteFRegitem(Regitem R)
bool DeleteAIReghemsRegitem aray at position x should be true, otherwise
fahe
Areport of information about al registered
students
Areport of all students who are registering
Course C Each student in a line
A report of all courses that student S
registered. Each coure ina line.
AllRegisteredstudents
LEach Regitem in arecord.
AIStudentsCourseC)
ACoursetudent S)
Transcribed Image Text:Details: You are asked to write a C console application that implement a system for a simple training center. The training center system should have information about its teachers, courses, students, and registration transactions. Moreover, the system should generate various reports. Here are the classes with their members that you need to create: Data type variable Name int string String Teacher FirstName LuEName Data type Variable Name CourseNumber CourseName Coursebescripnion Coursebay Int string string Course DAY Teacher Methods AssignTeacher(Teacher T) Data type Variable Name int Sid Student string string FirstName LastName Data type Variable name Student Course DateTime TransDate Regitem Data type Variable name Regitem Regitems Metheds Array or collection Adds a new Regitem and return brue ifRis not in the Regitems, otherwise do nothing and return fale Add all Regitem objects from Regitems that are in RS. Return array of booleans with the same length as RS. the item in RS at position Kinserted successfuly, then the return bool array at position K should be true, otherwise fale Delete the Regtem that is equal to Rand retum true. Otherwise, do nothing and return false Delete all Regitem objects from Regitems that are in RS. Return array of booleans with the same length as RS. the item in RS at poution x deleted successtully, then the retum bool bool AddRegitemegitem R bool AddAIRegitemsRegitem) Registration bool DeleteFRegitem(Regitem R) bool DeleteAIReghemsRegitem aray at position x should be true, otherwise fahe Areport of information about al registered students Areport of all students who are registering Course C Each student in a line A report of all courses that student S registered. Each coure ina line. AllRegisteredstudents LEach Regitem in arecord. AIStudentsCourseC) ACoursetudent S)
Here are more detailed requirements that you need to consider while coding your program:
1- All classes should have parameter-less constructor and constructor with all instance
variables in that class
2- All instance variables should be implemented as properties with getters and setters
3- All classes should override the ToString() and Equals methods. The equals method
should include all instance variable except in the case of Regitem. The Equals method of
Regitem should not include the TransDate variable in the comparison between two
objects.
4- The DAY datatype is an enum of all seven week days
5- Your program should use the Enumeration type for the DAY variable
6 You project should be free of any compilation errors. If your program does not run, you
will get zero
7. The report methods in the Registration class should be readable and printed nicely
8- The Main method should be only used for testing your program which means that the
TA can comment your Main method and replace it with another Main method and
your program should not be affected. In fact we will use our own Main method to
check you program. That's why following the exact names in this document is very
crucial to grade your homework.
9- It is your responsibility to follow the exact name of the classes, methods, and
properties mentioned in this assignment. For example, if the name of a variable is
FirstName in this document, then you MUST name it FirstName not firstname nor
Firstname nor first, etc. If you fail to follow the exact names, we will deduct some
points. Same thing for the names of the classes and the methods.
Transcribed Image Text:Here are more detailed requirements that you need to consider while coding your program: 1- All classes should have parameter-less constructor and constructor with all instance variables in that class 2- All instance variables should be implemented as properties with getters and setters 3- All classes should override the ToString() and Equals methods. The equals method should include all instance variable except in the case of Regitem. The Equals method of Regitem should not include the TransDate variable in the comparison between two objects. 4- The DAY datatype is an enum of all seven week days 5- Your program should use the Enumeration type for the DAY variable 6 You project should be free of any compilation errors. If your program does not run, you will get zero 7. The report methods in the Registration class should be readable and printed nicely 8- The Main method should be only used for testing your program which means that the TA can comment your Main method and replace it with another Main method and your program should not be affected. In fact we will use our own Main method to check you program. That's why following the exact names in this document is very crucial to grade your homework. 9- It is your responsibility to follow the exact name of the classes, methods, and properties mentioned in this assignment. For example, if the name of a variable is FirstName in this document, then you MUST name it FirstName not firstname nor Firstname nor first, etc. If you fail to follow the exact names, we will deduct some points. Same thing for the names of the classes and the methods.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data members
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning