Question: Using C#: Create an enumeration named Month that holds values for the months of the year. With JANUARY equal to 1, FEBRUARY equal to 2,

Using C#:

Create an enumeration named Month that holds values for the months of the year. With JANUARY equal to 1, FEBRUARY equal to 2, and so on through DECEMBER equal to 12.

Write a program named MonthNames that prompts the user for a month integer. Convert the users entry to a Month value, and display it.

The correct task formats are showed below.Using C#: Create an enumeration named Month that holds values for themonths of the year. With JANUARY equal to 1, FEBRUARY equal to

Programming Exercise 2-13 X Tasks monthname.cs >_ Terminal 1 using System; enum Month created 0.00 out of 10.00 error CS5001: Program 'month name.exe' does not contain a static "Main' method suitab le for an entry point Compilation failed: 1 error s), warnings Cannot open assembly 'monthn ame.exe': No such file or di rectory. 8 0 out of 1 checks passed. Review the results below for more details. Checks Code Pattern Incomplete enum Month created Description Searched your code for a specific pattern: enum\s*Month\s*{ You can learn more about regular expressions here. Correct month name 0.00 output out of Run Checks Submit 0% Programming Exercise 2-13 Tasks monthname.cs >_ Terminal 1 using System; Checks Test Case Incomplete Correct month name output for January error CS5001: Program 'month name.exe' does not contain a static "Main' method suitab le for an entry point Compilation failed: 1 error s), warnings Cannot open assembly 'monthn ame.exe': No such file or di rectory. Input Output Results January Expected Output January Test Case Incomplete Correct month name output for December Test Case Incomplete Run Checks Submit 0%

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!