scanf返回值很纠结啊……现在不能按要求输入系数和幂数了,貌似输入的第一个数没有作用。运行时……
You are using the Polynomial of the sum of one dollar function
First,please input the number of non-zero polynomial: (正常输入) 1
Please enter the power plays from small to large,ending by inputing 0,0
please input coef,exp: (正常输入)1
(正常输入)2,(完了以后仍然要求输入!那就输呗)2
please input coef,exp:(正常输入,结束) 0
The polynomial is:
2.000000x^2(结果多项式就成这样了c)