0% found this document useful (0 votes)
19 views

Labwork (Work With Classes) .: 1 Step: Main Menu Choose The Option: 3-Exit

The document describes a program for student registration with functions for registration, search, and display. The registration function allows input of a student's unique IIN number, name, surname, date of birth, and faculty. The search function searches for a student by their IIN. The display function displays a student's information after entering their IIN. The program has a main menu with the registration, display, and exit options and follows object-oriented programming principles.

Uploaded by

MD. Rakib Hosen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Labwork (Work With Classes) .: 1 Step: Main Menu Choose The Option: 3-Exit

The document describes a program for student registration with functions for registration, search, and display. The registration function allows input of a student's unique IIN number, name, surname, date of birth, and faculty. The search function searches for a student by their IIN. The display function displays a student's information after entering their IIN. The program has a main menu with the registration, display, and exit options and follows object-oriented programming principles.

Uploaded by

MD. Rakib Hosen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like