#include #include #include main( ) { double h, w ; printf("Enter the height(cm) = \n"); scanf("%lf", &h ); /* 処理: 値の計算 */ w = (h - 100) * 0.9; /* 結果の出力 */ printf("Standard weight = %g kg\n", w ); exit(0); }