Labwork (work with classes).
1) Write a program for students’ registration.
There must be the following functions:
Registration;
Search;
Display;
For registration use variables: IIN (unique number), name, surname, date of birth, faculty
name.
For search: search with their IINs (unique numbers).
1 step:
Main Menu 3- Exit:
Choose the option: The program terminates
here.
1-Registration
2-Display
3-Exit
Enter your choice: X
2 step:
1- Registration of a student:
Enter IIN of a student: X X X X
Start registering that student by Search( by their IIN)
asking to enter IIN, name,
surname, Date of birth, faculty, Search from the list of
etc. After finishing registration registered students,
go to the main menu again. even if the list is empty
or not enough
registration yet.
2-Display:
Enter IIN of a student: X X X X
Start displaying such student’s
IIN, name, surname, Date of
birth, faculty, etc. After finishing
displaying go to the main menu
again.
Note: Follow the following rules:
all methods must be defined as public.
all instance variables must be defined as private.
all instance variables must be accessed through methods.