Question: 3. Classification.java using enumerated data type Write an application that will tell a student what year in college he/she is in using console. All of

3. Classification.java using enumerated data type Write an application that will tell a student what year in college he/she is in using console. All of this can be done in one program that includes a main method. (In other words it does not require that a class definition and driver be code separately.)

a. Use an enumerated data type to set up a data type called college Year that contains the predefined values FRESHMAN, SOPHOMORE, JUNIOR, or SENIOR

b. Ask the user for the number of credits he/she has completed.

c. Determine and display college Year based on: a. 0 30 credits is a freshman b. 31 60 credits is a sophomore

c. 61 90 credits is a junior d. 91+ credits is a senior

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!