我的解答思路和尝试过的方法
我想要达到的结果
显示部分输出错误 但我对比了得满分的代码 和我写的一样 找不出自己的错误在哪
(a.c: In function ‘main’:
a.c:6:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&x);)
这个是提示
我还需要再分情况吗? 我看和标准答案思路一样 他也是这么写的啊