#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char s; //孩子的性别
char sp; //是否喜欢体育运动
char d; //是否有良好的饮食习惯
float h; //我的身高
float fh; //父亲的身高
float mh; //母亲的身高
printf("Are you a boy(M) or a girl(F)?\n");
scanf(" %c",&s);
if (!(s=='m' || s=='M' || s=='f' || s=='F'))
printf("\nInput sex error!");
else
{
if(s=='m'||s=='M')
{
printf("Please input your father's height(cm):\n");
scanf(" %f",&fh);
printf("Please input your mother's height(cm):\n");
scanf(" %f",&mh);
h=(fh&#