STUDENT MARKS DATA ENTRY USING CPP

Abhiram eerla Aug 04, 2023

This C++ code implements a student report management system with features to add, display, modify, and delete student records.

stu-1-outputstu-3-outputstu-2-outputstu-4-output

 

  1. Class Definition (student):

    • Data members: name, roll, grade, and marks (Cpp, DAA, Mathematics, ECE, Python, Economics, ISES, ISCP, and avg).
    • Member functions: add(), display_all(), display_one(), modify(), Delete(), and Grade(float avg).
  2. 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.

  3. 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.
  4. main() function:

    • Creates an instance of the student class named project.
    • Calls the 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... 

Project Files

Loading...
..
This directory is empty.

Comments (0)

Leave a Comment