文件名称:a
介绍说明--下载内容均来自于网络,请自行研究使用
其中 被称为系数。在本题中使用LinkedList类,其数据记录项Term中包含每一项的系数
及x的幂次。
struct Term
{
double coeff
int power
}
在程序中以(系数、幂次)对的序列输入一个多项式。在输入的幂次为0时终止程序,将每对系数/幂次存储到按幂次排序的链表中。
(a)按以下形式输出结果多项式中的每一项
-Which is called coefficient. Used in this title LinkedList class, its data record items contained in each of the Term of the coefficient and x the power. struct Term (double coeff int power) in the procedure to (coefficient, power) to enter a sequence of polynomials. In the input power of 0:00 for the termination of procedures, each of the coefficient/power storage to power by the sort of list. (A) by the following polynomial form of the output of each of the
及x的幂次。
struct Term
{
double coeff
int power
}
在程序中以(系数、幂次)对的序列输入一个多项式。在输入的幂次为0时终止程序,将每对系数/幂次存储到按幂次排序的链表中。
(a)按以下形式输出结果多项式中的每一项
-Which is called coefficient. Used in this title LinkedList class, its data record items contained in each of the Term of the coefficient and x the power. struct Term (double coeff int power) in the procedure to (coefficient, power) to enter a sequence of polynomials. In the input power of 0:00 for the termination of procedures, each of the coefficient/power storage to power by the sort of list. (A) by the following polynomial form of the output of each of the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.cpp