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