0 error(s), 0 warning(s)
0 error(s), 0 warning(s)
日期:2022-04-03 13:59:44 人气:1
变量 weight 没有声明。要加上:
int height=8,length=12,width=10,volume,weight;
----------------------
如果 weight 用 float weight , 则输出语句格式要用 %f
printf("Dimensional weight (pounds):%f\n",wei
int height=8,length=12,width=10,volume,weight;
----------------------
如果 weight 用 float weight , 则输出语句格式要用 %f
printf("Dimensional weight (pounds):%f\n",wei