Question: Write a program that accepts one of the seven values MON, TUE, WED, THU, FRI, SAT, and SUN as input and sets a variable named
Write a program that accepts one of the seven values MON, TUE, WED, THU, FRI, SAT, and SUN as input and sets a variable named TODAY to the correct value of type DayOfWeek, and then outputs the ORD value of TODAY to the screen. (Does the ORD value give you a hint as to the internal representation of the enumerated data type?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
