第1回実験作業
4599 ワード
#include
int main(){
int x;
printf(" :
");
scanf("%d",&x);
if(x%2!=0)
printf(" ");
else
printf(" ");
return 0;
}
#include
int main(){
int days;
printf(" :
");
scanf("%d",&days);
if(days>=1&&days<=5)
printf("workdays,fighting
");
else if(days==6||days==7)
printf("weekend,relax~
");
else
printf("Oops,not in 1~7
");
return 0;
}
#include
int main(){
char ch;
printf("
");
scanf("%c",&ch);
if(ch>='a'&&ch<='z');
ch=ch-32;
printf("%c
",ch);
return 0;
}