Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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
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