#include"stdio.h" main() { int a; scanf("%d",&a); swith(a) { case 1:printf("Monday\n");break; case 2:printf("Tuesday\n");break; case 3:printf("Wednesday\n");break; case 4:printf("Thursday\n");break; case 5:printf("Friday\n")...
这是我的中国科大一朋友写的,还有tst.exe以及main.c版本!
#include
using namespace std;
int main()
{
char week[7][10]={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};
int n;
cin>>n;
if(n>0&&n<8)
cout<
cout<<"invalid";
return 0;
}
n different approaches to life as it was to try on a coat. The whole world, the whole future is stret
switch 不是swith