I have attempted to create a system that provides basic functionality to manage student data, including the following :
Users can add student records by providing the student's name, roll number, age, and marks.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 1
Enter ur name: Pintu
Enter ur rollno: 1
Enter yr age: 19
Enter yr marks: 99
Student added successsfuly
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 1
Enter ur name: Radha
Enter ur rollno: 2
Enter yr age: 18
Enter yr marks: 95
Student added successsfuly
The system allows users to view a list of all the students and their corresponding details that have been added to the system.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 2
List of student:
Name : Pintu
rollno : 1
age : 19
Marks : 99
Name : Radha
rollno : 2
age : 18
Marks : 95
Users can search for a specific student by providing their roll number and the system will display their details if they exist in the database.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 3
Enter yr rollno: 👉2
Name : Radha
rollno : 2
age : 18
Marks : 95
--------(...)----|||||||||
The system can calculate the average marks of all the students stored in the database.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 4
Average marks : 97.0
Users have the option to exit from the system when they are done performing their tasks.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 5
pintu@adsl-ull-236-0 Student-Database-System %
Implement error handling when a student is not found during a search operation.
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 1
Enter ur name: Pintu
Enter ur rollno: 1
Enter yr age: 19
Enter yr marks: 99
Student added successsfuly
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 1
Enter ur name: Radha
Enter ur rollno: 2
Enter yr age: 18
Enter yr marks: 95
Student added successsfuly
1. Add Student
2. View Student
3. Search Student
4. Calculate Average Marks
5. Exit
Enter ur choice : 3
Enter yr rollno: 👉3
Student is not found 👹