given the following program i need to print the lines of each case in addition to th 5151680

Given the following program, I need to print the lines of each case in addition to the case above it. For example, case 2 should print:

“On the 2 day of Final Exams my professor gave to me”

“Two monitors glistening, and”

“a student up all night!”

Right now its only printing the “On the i day of Final Exams my professor gave to me and the case associated. I need to do this without adding another loop statement or switch statement. Case 5 would print all lines.

Example of what the output should be like:

Sample run 1:

On the 1 day of Final Exams my professor gave to me

a student programming at 3AM!

On the 2 day of Final Exams my professor gave to me

Two fanboys fanning, and

a student programming at 3AM!

On the 3 day of Final Exams my professor gave to me

Three resistors smoking,

Two fanboys fanning, and

a student programming at 3AM!

On the 4 day of Final Exams my professor gave to me

Four admins groaning,

Three resistors smoking,

Two fanboys fanning, and

a student programming at 3AM!

On the 5 day of Final Exams my professor gave to me

Five nerds a-geeking,

Four admins groaning,

Three resistors smoking,

Two fanboys fanning, and

a student programming at 3AM!

—————

class Program1{
static void Main(string[] args){
for(int i = 1; i
Console.WriteLine(“On the ” + i + ” day of Final Exams my professor gave to me”);
switch(i){
case 1:Console.WriteLine(“a student up all night!”);break;
case 2:Console.WriteLine(“Two monitors glistening, and”);break;
case 3:Console.WriteLine(“Three energy drinks empty, “);break;
case 4:Console.WriteLine(“Four notebooks scattered, “);break;
case 5:Console.WriteLine(“Five text books stacked,”);break;}}
Console.ReadKey();}}}

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now