#include<stdio.h>int main(){ enum weekday {sun,mon,tue} a; a = mon; switch(a) { case 0: printf("1\n"); break; case 1: printf("2\n"); break; case 2: printf("3\n"); break; default: printf("no 0 1 2\n"); }}