Write a program that accepts one of the seven values MON, TUE, WED, THU, FRI, SAT, and
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 TODAY to the correct value of type DayOfWeek, and then outputs the ORD value of TODAY to the screen. (Does theORDvalue give you a hint as to the internal representation of the enumerated data type?)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
The Architecture of Computer Hardware, Systems Software and Networking An Information Technology App
ISBN: 978-1118322635
5th edition
Authors: Irv Englander
Question Posted: