#include
#include
int main
{
double hieght,weight,BMI;
printf("please enter your hight(m) and weight(kg):");
scanf("%4.9lf,%4.9lf",&height,&weight);
BMI=weight/pow(height,2);
if(BIM
printf("%ls","you are too thin!eat more!");
else if (BMI>=18.5&&BMI<=24.99)
printf("%ls","congratulation!you are prefectly normal!");
if(BIM>=25&&BIM<=28)
printf("%ls","be careful ,you are overweight now");
else (BMI>=28&&BMI<=32)?printf("%ls","you are too fat,watch out"):printf("%ls","Warning:It is danger to be this FAT!" );
return 0;
}
错误代码main.c|4|error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token|