Question: create an array called month and initialize the array with January February March April May June July . Use a for statement to display the

create an array called month
and initialize the array with January February March April May June
July. Use a for statement to display the content of the array January
through July (7 output lines) using a variable called mo. Add an if
statement inside the for loop and test the mo variable if it is March then
display the message Happy March $Name, this is an extra line of output
(8 lines of output).

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 Programming Questions!