#include<stdio.h>
int main()
{
const float AMOUNT=0.3048;
int foot;
int inch;
float s;
scanf("%d%d",&foot,&inch);
s=(foot+inch/12.0)*AMOUNT;
printf("身高是%f",s);
return 0;
}
C语言--身高转换(厘米转英尺)
于 2023-11-04 18:50:00 首次发布