Parabola as object

Make a class defining a polynomial of second degree y = A× x2 + B× x + C

The coefficients A, B, C should be private. The class should contain the following member functions:

Make a program to test an object of this class.

In case you've forgotten everything you've learned in math, here are the formulae:

Discriminant