Let us worry about your assignment instead!

We Helped With This C# Programming Homework: Have A Similar One?

More InfoC# Homework Help

Short Assignment Requirements

I am confused on a project I am working on, specifically just the constructors and displaying. It involves creating and adding two polynomials

Assignment Description

Chapter 6 Test – Using methods in C#


Create a class Polynomial, with fields that hold a :

-          a number representing the degree

-          an array holding the coefficients;

Ex: 2x3 + 5x2 – 3x + 5

Will be saved in the a boject as          IntDegree = 3              //highest exponent is 3

                                                                   InCoefficient[0] = 5 //the coefficient for x0 is 5

                                                            InCoefficient[1] = -3 //the coefficient for x1 is -3                                            InCoefficient[2] = 5 //the coefficient for x2 is 5

                                                                   InCoefficient[3] = 2 //the coefficient for x3 is 2

Your class will:

a)      Create 2 properties for the fields: IntDegree and IntCoefficient (this last oen is an array)

b)      Is your option if you set a limit to the degree or accept any degree;

c)      Create 3 constructors:

o   one takes no parameter. Will create the polynomial “0”

o   one takes only 1 parameter, the degree. Ex Polynomial(3) will create the polynomial: “x3

o   one takes 2 parameters: one degree and an array of integers. The length of the array must match with the degree. Ex the degree is 3, then the array must have 4 numbers for the 4 coefficients like in the example above

d)      Add an operator +() that adds 2 polynomials (Ex: (2x3 + 5x2 – 3x + 5) + (x3) = 3x3 + 5x2 – 3x + 5)

e)      Create a ToString() method that returns a string that represents the polynomial. Ex: x3 + 1 will be returned as “x^3 + 1”

f)       Implement the IComparable interface, so that you can use the Array.Sort() method on polynomials (use the following condition: a polynomial is bigger than another polynomial if the degree is higher than the degree of the 2nd polynomial)


Hint: The polynomial “x3” will be stored as follows:

IntDegree = 3

InCoefficient[0] = 0 //the coefficient for x0 is 0

                                                            InCoefficient[1] = 0 //the coefficient for x1 is 0                                               InCoefficient[2] = 0 //the coefficient for x2 is 0

                                                                   InCoefficient[3] = 1 //the coefficient for x3 is 1






Testing your data


Create your own code to test the problem above.

The entire program will be saved as PolynomialDemo.cs.







Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta

Paypal supported