prob08/manager.cpp
bool check_valid_project(string project) {
  string proj_arr[6] = {"Research",           "Security",   "Web Application",
                        "Mobile Development", "Blockchain", "NULL"};
  for (int i = 0; i < 6; i++) {
    if (project == proj_arr[i]) {
      return true;
    }
  }
  return false;
}
// Given an array of valid projects...
// This function will return true if the string passed in matches...
// ...any of the 6 strings in the array.
Given an array of valid projects
This function will return true if the string passed in matches
any of the 6 strings in the array.
Given an array of valid projects This function will return true if the string passed in matches any of the 6 strings in the array .
bool check_valid_project(string project) {
  string proj_arr[6] = {"Research",           "Security",   "Web Application",
                        "Mobile Development", "Blockchain", "NULL"};
  for (int i = 0; i < 6; i++) {
    if (project == proj_arr[i]) {
      return true;
    }
  }
  return false;
}
bool check_valid_project ( string project ) { string proj_arr [ 6 ] = { " " , " " , " " , " " , " " , " " } ; for ( int i = 0 ; i < 6 ; i ++ ) { if ( project == proj_arr [ i ] ) { return true ; } } return false ; }
Given an array of valid projects...
Given an array of valid projects ...