This C program uses enumerated types to display days of week. The enumerated type is then declared as a different name using typedef keyword i.e. enum days  to typedef enum days days

The function prints for each day of the week, today, yesterday, and tomorrow, both as a string and as a number.

The output of the above program is