标签:alt 工作日 turn lease oop img inf inpu amp
#include<stdio.h> int main() { int days; printf("please input:\n"); scanf("%d",&days); if(days>=1&&days<=5) printf("workdays,fighting\n"); else if(days==6||days==7) printf("weekend,relax~\n"); else printf("Oops,not in 1~7\n"); getchar(); return 0; }
运行结果如下:
标签:alt 工作日 turn lease oop img inf inpu amp
原文地址:https://www.cnblogs.com/pyp2001/p/11695728.html