7-1 厘米换算英尺英寸 (15分) #include<stdio.h> int main() { int x=0; scanf("%d",&x); int foot=x/0.3048/100; int inch=(x/0.3048/100-foot)*12; printf("%d %d",foot,inch); return 0; }