This project is a simple Student Database System implemented in C. It allows users to manage student records using a menu-driven interface. The system supports adding, displaying, searching, updating, and deleting student records.
✅ Add Student: Enter student details (ID, Name, Age, GPA) and store them in the database.
✅ Display All Students: View all stored student records.
✅ Search Student by ID: Find and display student details based on the entered ID.
✅ Update Student GPA: Modify the GPA of a student by entering their ID.
✅ Delete Student: Remove a student's record from the database.
✅ Exit: Quit the program safely by deallocating memory.
- A C Compiler (e.g., GCC)
- Basic knowledge of C programming
- Command line interface (CLI) to run the program
Use the following command to compile the program:
gcc student_database.c -o student_database
Execute the compiled file:
./student_database
- Run the program.
- Choose an option from the menu.
- Follow the prompts to enter student details or perform an operation.
- The program runs continuously until the Exit option is selected.
Student Database System
1. Add Student
2. Display All Students
3. Search Student by ID
4. Update Student GPA
5. Delete Student
6. Exit
Enter your choice: 1
Enter Student ID: 101
Enter Name: John Doe
Enter Age: 20
Enter GPA: 3.8
Student added successfully!
Enter your choice: 2
Student ID: 101
Name: John Doe
Age: 20
GPA: 3.8
Feel free to contribute to this project! If you find any bugs or want to enhance features:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.
This project is open-source and free to use under the MIT License.
Developed by Sai Bhadane