enum declaration in C
Exercise 2-2, solution 1
Exercise 2-2, solution 2 Improved