Question: in java - Given an int numCreditHoursEarned, and a String variable stuClass, write Java code to determine whether a student is a freshman, sophomore, junior

in java
- Given an int numCreditHoursEarned, and a String variable stuClass, write Java code to determine whether a student is a freshman, sophomore, junior or senior and put that label into the stuClass variable. - Freshmen have earned fewer than 30 hours - Sophomores have earned at least 30 and fewer than 60 hours - Juniors have earned at least 60 and fewer than 90 hours - Seniors have earned at least 90 hours
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
