Question: I would like to ask help with this c programming task. Make a c program with the following details: For this machine exercise, your task

For this machine exercise, your task is to implement the algorithm for polynomial addition using linear lists following the algorithms given in Sir Quiwa's book (and also given here). Input Format We assume that our input is always a polynomial on three variables (xy.2). Two polynomials are read from input. Each polynomial PP is represented as follows: 1. the first line denotes the number of non-zero terms P 2 the succeeding lines represent every term in PP 3. Each line representing a term is composed of four values the first three are non-negative integers (representing the exponents of xy and z respectively), the last term represents the coefficient. Note that the coefficient is a real number that may be signed or unsigned Sample input is given below: 3 160-7 070-6 7001 5 1019 070-2 5 3 24 1 2 3 4 1303 Output Format The output should show the polynomial resulting from adding the two input polynomials. The polynomial should be output in canonical form. Each term is given in a separate line. Each line representing a term follows the same format as in input (item (c) above). For the output print the coefficient up to three decimal places. Sample output is given below 700 1.000 5 3 2 4.000 1 60 -7.000 1 3 0 3.000 1 2 3 4.000 101 9.000 070 -8.000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
