2-3、厘米换算英尺英寸
question:
answer:
#include <stdio.h>
int main()
{
int cm
= 0;
scanf("%d",&cm
);
int foot
= cm
/ 30.48;
int inch
= ((cm
/ 30.48) - foot
)*12;
printf("%d %d",foot
,inch
);
return 0;
}
转载请注明原文地址:https://blackberry.8miu.com/read-8499.html