RCMS.cpp
/*************************STUDENT FUNCTION*************************/
/*
If a user has Student access, they are able to view class statistics, or look at their
personal record. Depending on their choice, they will either go to the 
search_student() function to check their record, or statistics() to look at the class' stats
*/
STUDENT FUNCTION
If a user has Student access, they are able to view class statistics, or look at their
personal record. Depending on their choice, they will either go to the
search_student() function to check their record, or statistics() to look at the class' stats
STUDENT FUNCTION If a user has Student access they are able to view class statistics or look at their personal record . Depending on their choice they will either go to the search_student () function to check their record or statistics () to look at the class ' stats
void Student() {
    int n;
    start:
    cout << "\n\n\n\n\n\n\n";
    cout << "\t\t\t\t ------------" << "\n";
    cout << "\t\t\t\t     MENU" << "\n";
    cout << "\t\t\t\t ------------" << "\n";
    cout << "\t\t\t   1. SEARCH FOR YOUR RECORD" << "\n";
    cout << "\t\t\t   2. VIEW CLASS STATISTICS" << "\n";
    cout << "\t\t\t   3. GO TO MAIN MENU" << "\n\n";
    cout << "\t\t\tENTER YOUR OPTION: ";
    cin >> n;
    switch (n) {
        case 1:
            search_student();
            break;
        case 2:
            statistics();
            break;
        case 3:
            Segregation();
            break;
        default:
            cout << "\n\n\n\n\n\n\n\n\n\n\n\t\t\t\tWRONG OPTION!!";
            cout << "\n\n\n\n\n\n\n\n";
    }
    goto start;
}
void Student ( ) { int n ; start : cout << " \n \n \n \n \n \n \n " ; cout << " \t \t \t \t " << " \n " ; cout << " \t \t \t \t " << " \n " ; cout << " \t \t \t \t " << " \n " ; cout << " \t \t \t " << " \n " ; cout << " \t \t \t " << " \n " ; cout << " \t \t \t " << " \n \n " ; cout << " \t \t \t " ; cin >> n ; switch ( n ) { case 1 : search_student ( ) ; break ; case 2 : statistics ( ) ; break ; case 3 : Segregation ( ) ; break ; default : cout << " \n \n \n \n \n \n \n \n \n \n \n \t \t \t \t " ; cout << " \n \n \n \n \n \n \n \n " ; } goto start ; }
STUDENT FUNCTION
If a user has Student access, they are able to view class statistics, or look at their
personal record.
STUDENT FUNCTION If a user has Student access they are able to view class statistics or look at their personal record .