#include <stdio.h>
// 定义星期的枚举类型
enum Weekday {
    Monday,    // 0
    Tuesday,   // 1
    Wednesday, // 2
    Thursday,  // 3
    Friday,    // 4
    Saturday,  // 5
    Sunday     // 6
};

// 手动指定值的枚举
enum Season {
    Spring = 3,
    Summer = 6,
    Autumn = 9,
    Winter = 12
};

int main(){
	// 使用示例
	enum Weekday today = Saturday;
	if (today == Saturday || today == Sunday) {
    	printf("今天是周末\n");
	}	
}
