题解 | #牛牛的一周#
牛牛的一周
https://www.nowcoder.com/practice/5394d88a8fa042d99e3b9be34e17ad71
#include <stdio.h> int main() { int d; char* arr[8] = {"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"}; scanf("%d",&d); printf("%s\n", arr[d-1]); return 0; }