题解 | #牛牛的一周#
牛牛的一周
http://www.nowcoder.com/practice/5394d88a8fa042d99e3b9be34e17ad71
#include<stdio.h> int main() { int n = 0; scanf("%d",&n); if(n == 1) printf("Monday\n"); else if (n == 2) printf("Tuesday\n"); else if (n == 3) printf("Wednesday\n"); else if (n == 4) printf("Thursday\n"); else if (n == 5) printf("Friday\n"); else if (n == 6) printf("Saturday\n"); else if (n == 7) printf("Sunday\n"); return 0; }