RCMS.cpp
/*******************SPLITTING INTO DIFFERENT USERS*******************/
/*
Here the user determine what kind of access they have, Teacher, Student, or Public access.
Once there access is determined, they go to the Password(), Student(), or Public() functions, which 
decide what kind of operations they can perform. 

If they decide to exit, the program quits, or if they enter wrong the choice is presented again
*/
SPLITTING INTO DIFFERENT USERS
Here the user determine what kind of access they have, Teacher, Student, or Public access.
Once there access is determined, they go to the Password(), Student(), or Public() functions, which
decide what kind of operations they can perform.

If they decide to exit, the program quits, or if they enter wrong the choice is presented again
SPLITTING INTO DIFFERENT USERS Here the user determine what kind of access they have Teacher Student or Public access . Once there access is determined they go to the Password () Student () or Public () functions which decide what kind of operations they can perform . If they decide to exit the program quits or if they enter wrong the choice is presented again
void Segregation() {
    int n;
    start:
    cout << "\t\t\t      ---------------" << "\n";
    cout << "\t\t\t         MAIN MENU" << "\n";
    cout << "\t\t\t      ---------------" << "\n\n\n";
    cout << "\t\t\t     SELECT DESIGNATION" << "\n\n";
    cout << "\t\t-------------------------------------------" << "\n";
    cout << "\t\t  1. TEACHER\t2. STUDENT\t3. PUBLIC" << "\n";
    cout << "\t\t-------------------------------------------" << "\n\n";
    cout << "\t\t             (PRESS 4 TO EXIT)" << "\n\n\n";
    cout << "\t\t       ENTER AN OPTION: ";
    cin >> n;
    switch (n) {
        case 1:
            Password();
            break;
        case 2:
            Student();
            break;
        case 3:
            Public();
            break;
        case 4:
            exit(0);
            break;
        default:
            cout << "\n\n\n\n\n\n\n\n\n\n\n\t\t\t\tWRONG OPTION!";
    }
    goto start;
}
void Segregation ( ) { int n ; start : cout << " \t \t \t " << " \n " ; cout << " \t \t \t " << " \n " ; cout << " \t \t \t " << " \n \n \n " ; cout << " \t \t \t " << " \n \n " ; cout << " \t \t " << " \n " ; cout << " \t \t \t \t " << " \n " ; cout << " \t \t " << " \n \n " ; cout << " \t \t " << " \n \n \n " ; cout << " \t \t " ; cin >> n ; switch ( n ) { case 1 : Password ( ) ; break ; case 2 : Student ( ) ; break ; case 3 : Public ( ) ; break ; case 4 : exit ( 0 ) ; break ; default : cout << " \n \n \n \n \n \n \n \n \n \n \n \t \t \t \t " ; } goto start ; }
SPLITTING INTO DIFFERENT USERS
Here the user determine what kind of access they have, Teacher, Student, or Public access.
SPLITTING INTO DIFFERENT USERS Here the user determine what kind of access they have Teacher Student or Public access .
//    cout << "\n\n\n\n\n";
 //            cout << "\n\n\n\n\n\n\n\n";
 //            system("PAUSE");
