#include<stdio.h>
void main()
{
int high;
int old;
printf("%s\n","请输入年龄与身高!");
scanf("%d,%d\n",&old,&high);
if(12<=old<=18)
{
if(high>=185)
{
printf("%s\n","你将是一个有潜力的运动员");
}
else
{
printf("%s\n","你不太适合当运动员");
}
}
else
printf("%s\n","你年龄不合适");
}
onemoo
相关分类