Question: b) You write a program that allows the user to input up to two polynomials of different degrees. Then, you write a menu driven program
b) You write a program that allows the user to input up to two polynomials of different degrees. Then, you write a menu driven program to write functions for: 1. Allow the user to input up to two polynomials 2. Then provide the user with a menu of options. (a) Evaluate the first at a value of x specified by the user (b) Evaluate the second at a value of x specified by the user (c) Add the two and display result (d) Subtract first from second, and display result (e) Subtract second from first, and display result (f) Multiply first by a constant (which is input by the user), and display result (g) Multiply second by a constant (which is input by the user), and display resulft
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
