#include <stdio.h>int main(){ double foot,inch,height; scanf("%d %d;&foot, &inch"); height=(foot+inch/12)*0.3048; printf("你的身高为%d\n,"height); return 0;}
3 回答
Alone_shin
TA贡献5条经验 获得超0个赞
#include <stdio.h>
int main()
{
float foot,inch,height;
scanf("%f %f",&foot, &inch);
height=(foot+inch/12)*0.3048;
printf("你的身高为%d\n",height);
return 0;
}
- 3 回答
- 0 关注
- 1235 浏览
添加回答
举报
0/150
提交
取消