Question: C# Use the script below and finish the program which should do the following: After RUN the program should ask you first line Enter the
C#
Use the script below and finish the program which should do the following:
After RUN the program should ask you first line
Enter the year of college you are in below to find the college level
2nd line
Input College Year No
If you enter wrong year then you will get a prompt below
Invalid Year number Please try again
switch(year)
{
case 1:
WriteLine("Freshman") ;
break;
case 2:
WriteLine("Sophomore") ;
break;
case 3:
WriteLine("Junior") ;
break;
case 4:
WriteLine("Senior") ;
default:
message = "Invalid year" ;
break;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
