RCMS.cpp
/**************************PUBLIC FUNCTION**************************/
/*
If a user has Public access, they are able to view class statistics, or go back to 
the main menu. Depending on what option they choose, they will either go to the 
Statistics() function, or back to the Segregation() function
*/
PUBLIC FUNCTION
If a user has Public access, they are able to view class statistics, or go back to
the main menu. Depending on what option they choose, they will either go to the
Statistics() function, or back to the Segregation() function
PUBLIC FUNCTION If a user has Public access they are able to view class statistics or go back to the main menu . Depending on what option they choose they will either go to the Statistics () function or back to the Segregation () function
void Public() {
    int n;
    start:
    system("cls");
    cout << "\n\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. VIEW CLASS STATISTICS" << "\n";
    cout << "\t\t\t   2. GO TO MAIN MENU" << "\n\n";
    cout << "\t\t\t   ENTER AN OPTION: ";
    cin >> n;
    system("cls");
    switch (n) {
        case 1:
            statistics();
            break;
        case 2:
            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";
    }
    system("PAUSE");
    goto start;
}
void Public ( ) { int n ; start : system ( " " ) ; cout << " \n \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 \n " ; cout << " \t \t \t " ; cin >> n ; system ( " " ) ; switch ( n ) { case 1 : statistics ( ) ; break ; case 2 : 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 " ; } system ( " " ) ; goto start ; }
PUBLIC FUNCTION
If a user has Public access, they are able to view class statistics, or go back to
the main menu.
PUBLIC FUNCTION If a user has Public access they are able to view class statistics or go back to the main menu .