If I want "3x²" to be output in my program, and I have a variable holding the "3" as float coeff and one holding the "2" as int expn, how do I go about displaying the polynomial using cout?
Do I need #include<cmath> as well?
thanks in advance.
Jess