Description: Title Description:
Preparation of a polynomial addition operation procedures. Asked to use linked list to store a polynomial (see textbook). The program has the following features:
1 polynomial sum
Input: Input three polynomials, the establishment of three polynomial list Pa, Pb, Pc
(Hint: call CreatePolyn (polynomial & P, int m).
Output: Displays the three input polynomials Pa, Pb, Pc, and the polynomial Pa+ Pb, polynomial Pa+ Pb+ Pc
(Hint: call AddPolyn (polynomial & Pa, polynomial Pb), call PrintPolyn (polynomial P)).
0 Exit
Input:
Depending on the function of different input format requirements are as follows (data is a function of the first selection number, see test case):
1
A number of items contained in the polynomial, exponential increase in the order of the input coefficients of the polynomial A (integer) index (integer)
Polynomial B contains the number of items to index in ascending order of the input coefficients of the polynomial B (integer) index (integer)
Po
To Search:
File list (Check if you may need any files):
YiYuanDuoXiangShi.cpp