Question: How can I make a c++ program where the user has 2 options in a menu :1. Add a coefficient and degree of variable x

How can I make a c++ program where the user has 2 options in a menu :1. Add a coefficient and degree of variable x to a polynomial(if the polynomial is empty, the user would be adding the first coefficient and the degree of x would be 0) 2.count the number of coefficients currently in the polynomial. While using the program, if the user decides to choose option 1 again, the value entered will be added to the existing polynomial.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!