Can anyone help me to solve this question given by the lecture? Quite tough to solve for a junior like me.
Posted on 2004-11-10
Write a Java application for a college's admissions office. Prompt a professor to input grades for five different subjects in order to calculate the grade point average(GPA) for five students. A student receives four grade points for an A, three grade points for a B, two grade points for a C, one grade point for a D, and zero grade points for an F.
Create variables that store the grade point average and an admission test score. Print the message "Accept" if the students has any of the following:
1) A grade point average of 3.6 or above and an admission test score of at least 60.
2) A grade point average of 3.0 or above and an admission test score of at least 70.
3) A grade point average of 2.6 or above and an admission test score of at least 80.
4) A grade point average of 2.0 or above and an admission test score of at least 90.
If the student does not meet any of the qualification, print "Reject". This class name is Admission.
Enter student id: 9999-9999-9999
Enter student name: ABC
Enter grade for CS211: A
Enter grade for CS212: B
Enter grade for CS213: C
Enter grade for CS214: D
Enter grade for CS215: F
Enter admission test score: 50
Student Id: 9999-9999-9999
Student Name: ABC
GPA: 2.0 and Admission test score:50
Can use the GUI screen which contains all the buttons, textfields and any other relevant components.