#include<stdio.h>
int main()
{
printf("请分别输入身高的英尺和英寸:");
int foot;
int inch;
scanf("%d %d", &foot, &inch);
printf("身高是%f.\n", ((foot + inch / 12.0) * 0.3048));
return 0;
}
#include<stdio.h>
int main()
{
printf("请分别输入身高的英尺和英寸:");
int foot;
int inch;
scanf("%d %d", &foot, &inch);
printf("身高是%f.\n", ((foot + inch / 12.0) * 0.3048));
return 0;
}