#include<stdio.h>
int main()
{
int age;
printf("age:");
scanf("%d",&age);
if(age>12&&age<18)
printf("青少年");
else if(age>=18&&age<60)
printf("壮年");
else
printf("老年");
getchar();
getchar();
return 0;
}
如果觉得《输入年龄 判断年龄阶段》对你有帮助,请点赞、收藏,并留下你的观点哦!
时间:2021-10-02 10:17:15
#include<stdio.h>
int main()
{
int age;
printf("age:");
scanf("%d",&age);
if(age>12&&age<18)
printf("青少年");
else if(age>=18&&age<60)
printf("壮年");
else
printf("老年");
getchar();
getchar();
return 0;
}
如果觉得《输入年龄 判断年龄阶段》对你有帮助,请点赞、收藏,并留下你的观点哦!
失眠求解:神衰神衰配方曝光 黄连 肉桂 生地黄等草药为你打造安眠利器!
2024-07-23
患者 女 33岁 每于经期头晕头痛 心悸失眠 月经量少 色淡质稀 舌淡 苔薄白 脉
2024-07-23