0% found this document useful (0 votes)
11 views1 page

DOCUMENTION

Uploaded by

Niza Agalla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

DOCUMENTION

Uploaded by

Niza Agalla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

DOCUMENTION

Problem Statement

The Student Management System program is a console-based application written in


C++ that provides basic options for managing student records. It enables the user to
select from a menu of operations, including adding, viewing, searching, updating, and
deleting student information. Additionally, the program offers an option to exit the
application.

How It Works:

Upon starting, the program displays a menu with six options:

1. Add Student – Allows the user to add a new student record.


2. View Students – Displays all currently stored student records.
3. Search Student – Provides a way to look up specific student information.
4. Update Student – Enables editing of existing student details.
5. Delete Student – Removes a student's record from the system.
6. Exit – Ends the program.

The user is prompted to enter a number corresponding to their choice. The program
then uses a switch statement to perform the appropriate action based on the selected
option. Each case within the switch statement outputs a message indicating the user’s
choice. For instance, if the user selects "1" for adding a student, the program will
confirm by displaying, "You chose to Add Student." If an invalid choice is entered,
the program defaults to a message instructing the user to try again.

Program Structure:

The main components include:

 Input/Output: Managed through #include <iostream> to handle console


input/output operations.
 Switch Statement: Efficiently handles user choices with each case corresponding to a specific
action.
 Error Handling: Uses the default case in the switch statement to notify the user if an invalid
choice is entered.

This program serves as a foundational structure for a Student Management System.


Additional functionality could be incorporated by expanding each case to perform
actual database or file operations, allowing the application to store and retrieve real
student data.

You might also like