A community for students.
Here's the question you clicked on:
 0 viewing
liquifiedkronic
 4 years ago
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.
liquifiedkronic
 4 years ago
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.

This Question is Closed

agdgdgdgwngo
 4 years ago
Best ResponseYou've already chosen the best response.1http://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

agdgdgdgwngo
 4 years ago
Best ResponseYou've already chosen the best response.1Better 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.

liquifiedkronic
 4 years ago
Best ResponseYou've already chosen the best response.1Sorry for the late response, I needed it in Java.

agdgdgdgwngo
 4 years ago
Best ResponseYou've already chosen the best response.1:( I don't really know C++ or Java so well
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.