#include<stdio.h>
int main()
{
int age = 15;
int height = 162;
float weight =82.5;
char isfat = "y";
printf("年龄:%d岁\n",age);
printf("身高:%dCM\n",height);
printf("体重:%fKG\n",weight);
printf("是否属于肥胖儿童:%c\n",isfat);
return 0;
}
char sifat不能用 双引号"Y" ,该用单引号'Y'。