I am using enumerated type declaration. I can't print it.
So far I have written the following code. The question is how to print a enum type variable?
#include <stdio.h>
int main()
{
enum day {monday,tuesday,wednwsday,thrusday,friday,saturday,sunday};
enum day week_st, week_end;
week_st = monday;
week_end = friday;
if(week_st == monday)
{
printf("%s\n",week_end);
}
return 0;
}