I am working on a program to basically multiply some equations.
(x + 1) * (x + 1)
How would I code this so that my answer shows
x^2 + 2x + 1
I assume I would have to include math.h?? The equation that I have to do is more complex than this, but I think I can handle it if someone gives me the basics for doing this one. Any help would be appreciated.