首页上一页 1 下一页尾页 3 条记录 1/1页
#include<stdio.h>
#define HEG 0.54
void height(float father,float mother)
{
float son;
son=(father+mother)*HEG;
printf("son height is\n");
printf("%0.2f",son);
}
int main()
{
float father;
float mother;
printf("please input father height\n");
scanf("%f",&father);
printf("please input mother height\n");
scanf("%f",&mother);
height(father,mother);
}