Question
In java, how do I write a program that allows the user to input up to two polynomials of different degrees. Then, write a menu
In java, how do I write a program that allows the user to input up to two polynomials of different degrees. Then, write a menu driven program to write functions for: 1. allowing the user to input two polynomials, and 2. provide the user with a menu of options which are. a) evaluate the first at a value of x specificed by the user. b) evaluate the second at a value of x specificed 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 results. 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 result
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started