Data Structures and Algorithms
Can you help me to Create a program that will input the basic information of the students and Faculty use structure with inheritance type. Please see basic details below:
Students:
Id Number Auto increment ID number ( Example 001 )
First Name
Middle Name
Last Name
Course
Year Level
College
Department
Faculty:
Auto increment ID number ( Example 001 )
First Name
Middle Name
Last Name
Employment Status
Academic Rank
College
Department
Instruction:
The program will display items in the menu (students and Faculty). Please follow the following illustration below.
Main Menu
Student-------------[S/s]
Faculty---------------[F/f]
You can Use Number in selection?
If the selected item in the menu is students, then it will ask the following:
Enter how many students to registered? Example input is 2
Id Number is not part of the input since this is auto increment
Enter First Name:
Enter Middle Name:
Enter Last Name:
Enter Course:
Enter Year Level:
Enter College:
Enter Department:
Then it will display in the following manners:
ID_No First Name Middle Initial Last Name Course Year Level College Department
001 Juan Villanueva Dela Cruz BSIT 2 CEIT I.T
002 Pedra Corpos Dela Cerna BSIT 1 CEIT I.T
Sub menu:
You want to input more student?
Yes----------------[Y/y] if yes then you can input another students
No-----------------[N/n] else go back to main menu
If the selected item in the menu is Faculty, then it will ask the following:
Enter how many faculty to registered? Example input is 2
Id Number is not part of the input since this is auto increment
Enter First Name:
Enter Middle Name:
Enter Last Name:
Enter Employment Status:
Enter Academic Rank:
Enter College:
Enter Department:
Then it will display in the following manners:
ID_No First Name Middle Initial Last Name Emp_Status Rank College Department
001 Juan Villanueva Dela Cruz Contractual Instructor I CEIT I.T
002 Pedra Corpos Dela Cerna Regular Professor 2 CEIT I.T
Sub menu:
You want to input more faculty?
Yes----------------[Y/y] if yes then you can input another faculty
No-----------------[N/n] else go back to main menu