This C++ code implements a student report management system with features to add, display, modify, and delete student records.
Class Definition (student
):
name
, roll
, grade
, and marks (Cpp
, DAA
, Mathematics
, ECE
, Python
, Economics
, ISES
, ISCP
, and avg
).add()
, display_all()
, display_one()
, modify()
, Delete()
, and Grade(float avg)
.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:
student
class named project
.menu()
function to initiate the menu-driven system.
to improve this code you can add a txt file as sql database to sava the data if you need...
Submitted by Abhiram eerla (Abhirameerla)
Download packets of source code on Coders Packet
Comments