🎯 Objective
Your objective is to design a class that outputs a student's college classification year based on the number of credit hours they have accomplished.
Classification of a student as a freshman, sophomore, junior, or senior is determined based on credit hours earned. In an undergraduate degree program, a student is classified according to hours earned as follows:
Freshman - 0-29 hours;
Sophomore - 30-59 hours;
Junior - 60-89 hours;
Senior - 90 or more hours.
Note - the student class must have a function to return the student classification. Your driver program should show the example output once the user has entered the student name and hours accomplished.
Program User prompts:
Student Full Name
The number of hours accomplished.
Example Program outputs
Student Name: Fred Flintstone (Senior) - Hours Completed: 95
🚚 Deliverables
Upload the following files in a zip folder that you have created:
Java class files
Screenshot of the Console with the code executing