```c #include <stdio.h> int main() { int height; float weight; printf("请输入身高(单位cm):"); scanf("%d", &height); weight = (height - 100) * 0.9 * 2; printf("当身高为%d时,标准体重是%.1f斤\n", height, weight); return 0; } ``` [2024-11-14 11:22:43 | AI写代码神器 | 177点数解答]