Assignment 9: Official Class
Description
The official classes at Bayside High School provide information about a student. For example, 2T3 means that the student is a Sophomore and their counselor is Tsai.
Following is list of counselor with their associated letter.
A = Meltzer
C = Chu
D = Dinin
F = Fiore
G = Gibson
H = Hur
J = Jacoby
L = Lee
M = Manis
P = Paccione
T = Tsai
Y = Yeh
Z = Eyzengart
Task
Create a program that displays the year level (Freshmen, Sophomore, Junior, Senior) and the counselor's name based on the official class enter. Display invalid entry if the official class provided does not match any of the possibilities.
Post a screen capture of your program being executed a couple of times.
Post a screen capture of the code.
Question
1) What string methods are required in this assignment? Why?
equals and substring
2) Describe when you would use if, if else, and if else if.
If is when only one is true then it will execute
If else or else if is used when when there is more then one possible section so like 1 2 3 and 4
if else if is like a switch.