why this loop infinite loop ???
case "TARTUP": intial = new File("intialInformation.txt"); info = new Scanner(intial); coursesNUM = info.nextInt(); // 3 sectionsNUM = info.nextInt(); // 3 studentsNUM = info.nextInt(); // 17 coursesLine = info.next(); System.out.print("The courses for this semester are:"); for (int i = 0; i < coursesNUM; i++) { System.out.print(" " +coursesLine); } System.out.println("\n----------------------------------------------------------\n"); https://code.sololearn.com/c7t5OaStWdoA/?ref=app