how to take polynomial values from user?

How to solve polynomial values in c.I want to add polynomial values like(2X^3+X^2)
if i need to add them how i can start and take value by user?
You can use standard function scanf declared in stdlib.h
if user give as a input ( 2X^3+2X^2+X^2.......+X^n ) of polynomial funcation and then program take value of x and then solved it...I have a problem in only once how i can take full polynomial funcation as a input???
Topic archived. No new replies allowed.