---恢复内容开始---
#include<stdio.h>
int main ()
{
int x;
printf("输入一个整数");
scanf("%d",&x);
if(x%2==1)
printf("是奇数");
else
printf("是偶数");
return 0;
}
#include<stdio.h>
int main()
{
int days;
printf("输入一个整数:\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("Ooops,not in 1~7\n");
return 0;
}
#include<stdio.h>
int main()
{
char c;
printf("输入一个字符\n");
scanf("%c",&c);
if(c>=97)
c=c-32;
printf("%c\n",c);
return 0;
}