^_^ Hiiiiiiiiii all

i'm a new member here ... hope to help me in me task !!

i 've a challenge with my friend . in how solving this problem

we may be new students with oop .. but we r working hard as possible as we can ^_^

any way ,, this is the problem ,, have alook at it and try to help me in sloving it ,, ok :)

i have to creat a class in a name of ploynomial with the following steps ..

Class Polynomials should contain the following member functions:

1.A default constructor, that creates an empty polynomial object.

2.A parameterized constructor, that accepts as input an array of terms and the size that indicates the number of the terms. Each term consists of a coefficient and an exponent.

3.A destructor that free all the space that has been allocated dynamically for the object.

4.getDegree() that returns the degree of the polynomial. The degree of a polynomial is defined as the largest power in the list of terms. (ex: p(x)= 1+2x +15x2 +3 x6 has a degree of 6)

5.getCoefficient(d) that returns the coefficient of the term with degree d.

6.getValue(x) that returns the value of the polynomial at x

For example value of p(x)= 1+2x +15x2 +3 x6 at x=1 is p(1)=21.

7.print() that displays on the screen the polynomial according to the following format.

P(x)= 1 + 2x + 15X2 + 3 x6 should be displayed as 1 + 2 X + 15 X**2 + 3 X**6.

8.Operator + that that returns a new polynomial that contains self + argument.

9.Operator – that returns a new polynomial that contains self - argument.

10.Operator = that assigns a polynomial to self.

waiting u today or tommorow .. plz

if u want to contact me this is my mail ..

broken.soul294@hotmail.com

regards