public static void manageProfessors() {

		System.out.print("Do you want to add (0) or delete (1) a professor ? ");

		int res = -1;

		while (res < 0 || res > 1) {
			Scanner sc = new Scanner(System.in);
			res = sc.nextInt();
		}

		switch (res) {
		case 0:
			createProfessor();
			break;
		case 1:
			if (FileRead.profListFiles.isEmpty()) {
				System.out.println("There is no Professor !");
			} else {
				System.out.println("Which professor do you want delete ?");
				displayProfessorList();
				Scanner scIndexProf = new Scanner(System.in);

				Professor prof = null;
				while (prof == null) {
					int iProf = scIndexProf.nextInt();
					prof = chooseProfessorList(iProf);

				}
				FileRead.profListFiles.remove(prof);
				System.out.println("The professor " + prof
						+ " has been deleted.");
			}
			break;
		default:
			createProfessor();
			break;
		}

	}