11智能在线
新记
c语言求助!!
c语言求助!!怎么做,
举报该文章
其他看法
第1个回答 2018-04-28
#include <stdio.h>
int main()
{
float x,y;
scanf("%f",&x);
if(x<1) y=x;
else if(x<10) y=x*2-1;
else if(x<20) y=x*10;
else y=x*3-11;
printf("%f",y);
return 0;
}
本回答被网友采纳
第2个回答 2020-01-13
您的浏览器不支持HTML5视频
相似回答
大家正在搜
相关问题
C语言求助!!
C语言求助~!!!
c语言求助!!
c语言求助!
c语言求助!
C语言求助!
c语言! 求助~~~
C语言,求助!!