Write a program that will read in a file of student academic credit data and create a list of students on academic warning. The list of students on warning will be written to a file. Each line of the input file will contain a student name (a single String with no spaces), the number of semester hours earned (an integer), the total quality points earned (type double) during those semesters. The following shows part of a typical data file:
Smith 27 83.7 Jones 21 28.35 Walker 96 182.4 Doe 60 150
For this assignment a GPA is defined as the number of quality points earned, divided by the number of semester hours during which those points were earned. (In case you are wondering, "quality points" are the grade obtained for a course on a 4-point scale times the number of credits earned for that course.) A student should be on academic warning if he/she has a GPA less than 1.5 for students with fewer than 30 semester hours credit, 1.75 for students with at least 30 but fewer than 60 semester hours credit, and 2.0 for all other students (i.e., those with at least 60 hours). The program should compute the GPA for each student then, if that student should be put on academic warning, write the student information to the output file. The file Warning.java contains a skeleton of the program. Do the following: