anonymous
  • anonymous
Specify, design and implement a class that can tore information about a quadratic expression. The constructor should set all three coefficients to zero, and another method should allow you to change these coefficients.
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
which language?
anonymous
  • anonymous
http://ideone.com/wI0HZ it's very flawed, but that's the idea of doing it. Btw the repr function was just to display the actual polynomial and is not really necessary
anonymous
  • anonymous
Better to have a more flexible Polynomial class, with fields such as the degree etc, and the repr function, and then have a Quadratic class inherit from that class.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
Sorry for the late response, I needed it in Java.
anonymous
  • anonymous
:( I don't really know C++ or Java so well

Looking for something else?

Not the answer you are looking for? Search for more explanations.