Yes the next character would be an x in the cases of a and b, but not for c. I'm getting there though.
Type: Posts; User: phantom777
Yes the next character would be an x in the cases of a and b, but not for c. I'm getting there though.
A <expr> would be made up of either ax^2, bx, or c. a, b, and c are represented by integers in the actual equation. A <sign>would be represented by a plus or minus. Nothing separates an <expr> from...
Yes that is the case it seems. But I am unsure of how to do that.
It could be any various combination of things it could be ax^2-c, bx+c, ax^2-bx+c, ax^2. It's supposed to work for all the different possibilities. But the only signs will be + and - . But a,b, and c...
I have to write a read method for a quadratic class where a quadratic is entered in the form ax^2 + bx + c. The description for the class is this:
Add a read method that asks the user for an...