STUDENT MARKS DATA ENTRY USING CPP
This C++ code implements a student report management system with features to add, display, modify, and delete student records.




-
Class Definition (
student):- Data members:
name,roll,grade, and marks (Cpp,DAA,Mathematics,ECE,Python,Economics,ISES,ISCP, andavg). - Member functions:
add(),display_all(),display_one(),modify(),Delete(), andGrade(float avg).
- Data members:
-
menu()function: It presents a graphical menu-driven interface to the user, allowing them to choose various operations like adding, displaying, modifying, deleting, or exiting the program. -
Member functions:
add(): Allows the user to input student information and calculates the average and grade.display_all(): Displays all student records stored in the "Student.txt" file.display_one(): Displays a particular student record based on the given roll number.modify(): Enables the user to modify an existing student record.Delete(): Allows the user to delete a specific student record.Grade(float avg): Calculates the grade based on the average marks of the student.
-
main()function:- Creates an instance of the
studentclass namedproject. - Calls the
menu()function to initiate the menu-driven system.
- Creates an instance of the
to improve this code you can add a txt file as sql database to sava the data if you need...
Project Files
/
Loading...
| .. | ||
| This directory is empty. | ||