C语言我用C-FREE5.0编译一个程序,调试没有警告和错误,却生成LIB文件 无法运行,报错为不可执行文件
#include<stdio.h>intmian(void){floatweight;floatvalue;printf("areyouworthyourweightin...
#include<stdio.h>
int mian(void)
{
float weight;
float value;
printf("are you worth your weight in rhodium? \n");
printf("lets 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 %f \n",value);
return 0;
}
这是我的程序 展开
int mian(void)
{
float weight;
float value;
printf("are you worth your weight in rhodium? \n");
printf("lets 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 %f \n",value);
return 0;
}
这是我的程序 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询