C/C++の宿題を片付けます 119代目
■ このスレッドは過去ログ倉庫に格納されています
0413デフォルトの名無しさん
2008/12/09(火) 17:46:29何度もすいませんがそれでもdegreeが0の時だけが出力されません^^;
Input the coefficient: 5
Input the degree: 6
Input the coefficient: 4
Input the degree: 3
Input the coefficient: 4
Input the degree: 0
Input the coefficient: 3
Input the degree: 2
Input the coefficient: 0
+5x^{6}+4x^{3}+3x^{2}
実行して入力していくと最後に式が出るのですが↑の場合だと
最後の式の最後に+4がくるはずなのですがきませんでした^^;
■ このスレッドは過去ログ倉庫に格納されています