My new Java assignemnt is to take a user inputted polynomial expression in the form of:
(example of one polynomial input: 3.5x^3 +x^2+5)
I understand how to manipulate the polynomials to preform addition, subtraction and multiplication but I have no idea how to get the user input into the appropriate Arrays or variables to complete the rest of the assignment.
Is there any code I could create to read the inputted polynomials and operations and create an ArrayLists of coefficents, and determine the degree of each polynomial. Can be a speerate class if necessary.