卑微小娘子泪求cl.exe
YankP 2020-08-23 11:15:51 自学C语言中,
课本上有一个程序
#include <stdio.h>
int main(void)
{
float weight, value;
printf("Are you worth your weight in rhodium?\n");
printf("Let's check it out.\n");
printf("Please enter your weight in pounds:\n");
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;
}
我想试试输入体重得结果,但是我没找到有cl.exe文件,就设置不了路径。
请问哪位大神能发一下吗?
小女子感激涕零