I just learned the basics of that a few days ago.
So.
Code:
enum Months { JAN = 1, FEB, MAR, APRIL, MAY, JUNE, JULY, AUG, SEPT, OCT, NOV, DEC, }
Usually the values of the integer constants start at 0 unless you do other wise like my example.
So if you do as i have did above it will increment each variable by 1 each time.
The Months is called a user defined type.
It's basically a set of user integer constants represented by an identifier.
You can have the same variable names as long as you have a different user defined type as far as i know.
I'm new so it's ll i know.
Cya