回答編集履歴
1
誤記修正
test
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
ちょっと見ですが・・・型が違います。
|
2
2
|
|
3
|
-
scanf("%d",&d[i].Height);→scanf("%f",&d[i].Height);
|
3
|
+
scanf("%d",&d[i].Height);→scanf("%lf",&d[i].Height);
|
4
4
|
|
5
|
-
scanf("%d",&d[i].Weight);→scanf("%f",&d[i].Weight);
|
5
|
+
scanf("%d",&d[i].Weight);→scanf("%lf",&d[i].Weight);
|