我怎么感觉inch一直为0
#include<stdio.h> int main(){
int limi,foot,inch;
scanf("%d",&limi);
foot=limi/(100*0.3048);
inch=(limi/(100*0.3048)-foot)*12;
printf("%d %d",foot,inch);
return 0;
}
2019-11-27 15:06
2019-11-27 15:11
2019-11-27 15:12
2019-11-27 15:12
2019-11-27 15:13
2019-11-27 15:15
2019-11-27 15:17
2019-11-27 15:25
2019-11-27 17:02
2019-11-27 22:32