oops! I missed that J in january.and I also missed M in month it's working goodd now thanks.
Code:
enum Months{
January, February, March, April, May, June, July,
August, September, October, November, December
};
#include <conio.h>
#include <stdio.h>
main(){
typedef enum Months month;
month month1 = January;
month month2 = February;
month month3 = March;
month month4 = April;
month month5 = May;
month month6 = June;
month month7 = July;
month month8 = August;
month month9 = September;
month month10 = October;
month month11 = November;
month month12 = December;
getche();
}