This is an assignment for an online course:
"Create a set/list of enumerated constants called week that contain the days of the week. Have a variable named today of type week.Assign a value to today. if it is Mon through Fri printf("Blah")
if it is Sat or Sun... BLAh."
In RL if I were to use this I would want the numbers to be on this side of the program and have the user enter a string to display the correct output. I tried to do it several different ways but was only succesful when entering the numerical version of the enum on the user side. If I entered the word "Mon", on my switch it would default or run time fail. If I entered 1 it would display the correct output. So why use this enumerated number set up?