Question: can someone help me with this c++ code please A polynomial may be represented as a linked list where each node contains the coefficient and
A polynomial may be represented as a linked list where each node contains the coefficient and exponent of a term of the polynomial. The polynomial 4X33X25 would be represented as a linked list given below. Write a program system that reads two polynomials in any order of exponent from an input file, stores them as linked lists and prints the polynomial in a sorted order to an output file NOTE: Must write a very general program using Object oriented concept. Do not use any library functions. All methods used in the program MUST be written in C++ and included in the program. KEYWORDS: Classes Pointers Submit a. Documented program b. Input file. c. Output file. Test run for the following inputs (Do not change the order of exponent in the input file) A) Equation1: 18X57X3+6X2+6 Equation2: 8X57X4+6X3+9X28X+9 Equation3 : 8X37X5+6X2+6 Equation4: 8X57X2+6X4+9X38 Equation5: 8X36+5X5+6X2+8X87X7+6X Equation6: 9X56X2+5X4+18X39
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
