##Product of Polynomials
How to use:
Takes input like this:
n1 c1 c2 … cm
n2 d1 d2 … d3
So a sample input would look like this on a text file:
5 2 3 1 4
6 2 3 -1 24
To use the .c file in terminal simply do
cat input.txt | ./a.out
C programs for a class assignment. Takes input from stdin and outputs the products of two polynomials with input as coefficients
C
##Product of Polynomials
How to use:
Takes input like this:
n1 c1 c2 … cm
n2 d1 d2 … d3
So a sample input would look like this on a text file:
5 2 3 1 4
6 2 3 -1 24
To use the .c file in terminal simply do
cat input.txt | ./a.out