mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-12-16 15:44:39 +00:00
8 lines
179 B
C
8 lines
179 B
C
|
const char WEEKDAY[7][4] = {"日", "一", "二", "三", "四", "五", "六"};
|
||
|
|
||
|
void ShowDayWeek(int dow) {
|
||
|
if (dow < 0 || dow >= 7) return;
|
||
|
|
||
|
printf("%s", WEEKDAY[dow]);
|
||
|
}
|