c语言中用if求五段分段函数
答案:2 悬赏:10
解决时间 2021-12-22 20:06
- 提问者网友:回憶丶初
- 2021-12-22 02:50
c语言中用if求五段分段函数
最佳答案
- 二级知识专家网友:高冷不撩人
- 2021-12-22 04:04
//if语句 #inlcude #include define a 10 //a自己取值 void main() { float x, y; scanf("%f",&x); if(x>=0.5 && x=1.5 && x < 3.5) y = exp(a*x); if(x
全部回答
- 1楼网友:走,耍流氓去
- 2021-12-22 05:30
#include <stdio.h>
double sum(double a, diuble b) {
return a+b;
}
void main() { printf("%lf", sum(3.0, 5.0)); }
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯