Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started