C program for enumerated types


Assignment:

Create a set/list of enumerated constants called week that contains the days of the week. Have a variable called today that is of type week. Assign a value to today. If the day is Monday through Friday, print "Go to work!" If the day is Saturday or Sunday, print "You can rest today!"

Solution Preview :

Prepared by a verified Expert
Physics: C program for enumerated types
Reference No:- TGS01891802

Now Priced at $30 (50% Discount)

Recommended (90%)

Rated (4.3/5)