A good answer might be:The complete program is given below. | |
Complete ProgramTranslating the polynomial into Java is easy. Remember that x3 means x times itself three times. The statement that writes out the answer uses "+" to concatenate Strings. Remember that doubles are converted to String automatically when you use "+" with both a double and a String.
| |
QUESTION 20:What happens in this program if the user types "yes" in response to the prompt continue (y or n)? Click Here after you have answered the question |