#include <stdio.h>
int main (void)
{
float weight;
float value;
printf ("Are you worth your weight in rhodium?\n");
printf ("Let's check it out.\n");
printf ("Please enter your weight in pounds: ");
scanf ("%f", &weight);
value = 770 * weight * 14.5833;
printf("Your weight in rhodium is worth $%.2f.\n",value);
printf("You are easily worth that! If rhodium prices drop, \n");
printf("eat more to maintain your value.\n");
return 0;
}
忘了分号
牛逼c(2)
最新推荐文章于 2022-07-12 20:53:53 发布