#include<stdio.h>
int main(void)
{
float weight;
float value;
printf("Are you worth your weight in platinum?\n");
printf("Let's check it out.\n");
printf("Please enter your weight in pounds.\n");
getchar();
scanf("%f", &weight);
getchar();
value = 1740.0030 * weight * 14.5833;
printf("Your weight in platinum is worth $%.2f.\n", value);
printf("You are easily worth !If platinum prices drop,\n");
printf("eat more to maintain your value.\n");
return 0;
}
这调试以后出现图里的错误和警告,能帮我看一下我这哪错了,要怎么改吗?搞半天了,还是不会!!!

int main(void)
{
float weight;
float value;
printf("Are you worth your weight in platinum?\n");
printf("Let's check it out.\n");
printf("Please enter your weight in pounds.\n");
getchar();
scanf("%f", &weight);
getchar();
value = 1740.0030 * weight * 14.5833;
printf("Your weight in platinum is worth $%.2f.\n", value);
printf("You are easily worth !If platinum prices drop,\n");
printf("eat more to maintain your value.\n");
return 0;
}
这调试以后出现图里的错误和警告,能帮我看一下我这哪错了,要怎么改吗?搞半天了,还是不会!!!





