#include#define xishu 0.394int main(void){float inches;int feet,height;printf("Enter a heigt in centimeters:");scanf("%d",&height);while(height>0){feet=(height*xishu)/12;inches=(height*xishu)%12;printf("%.1f cm=%d feet,%.1f inches\n",(float)height,feet,inches);printf("Enter a heigt in centimeters(<=0 to quit):");scanf("%d",&height);}printf("bye\n");return 0;}但是显示是错误的 E:\编程\未命名1.cpp In function `int main()': 11 E:\编程\未命名1.cpp [Warning] converting to `int' from `double' 12 E:\编程\未命名1.cpp invalid operands of types `double' and `int' to binary `operator%'帮忙看下错误在哪谢谢了