Question: Write a program that determines the month of the year based on the value of a variable called . The variable will be a number

 Write a program that determines the month of the year based
on the value of a variable called . The variable will be

Write a program that determines the month of the year based on the value of a variable called . The variable will be a number from 1 to 12(1 is January, is February, etc.). Use a statement to write the month to the screen. Important, you will need to declare the variable and assign it a value in order to test your code. However, do not submit your code to be graded with the variable declaration and assignment. The auto-grader will declare the variable for you and give it a value. Click on the Try It button to test your code. If your code is not working, try to execute your code line by line with the Code Visualizer. Your program should handle a variable that has a number value between 1 and 12 . Print the month of the year based on this number ( 1 is January, etc.). Remember, do not declare the variable in your code when you submit it. The auto-grader will declare the variable for you. X LAST RUN on 1/29/2023.3:3420 PM Check 1 failed Check 2 failed Check 3 failed Check 4 failed Check 5 failed Check 6 failed Check 7 failed

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