输入实数x,按下列公式计算并输出x和y的值,y=x平方+5(x≤0)y=1/(3x+1)(x≥0),非常急!
<p>问题:输入实数x,按下列公式计算并输出x和y的值,y=x平方+5(x≤0)y=1/(3x+1)(x≥0),非常急!<p>答案:↓↓↓<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">厉卓恒的回答:<div class="content-b">网友采纳 #include #include voidmain() { floatx,y; cin>>x; if(x
页:
[1]