Use the following data to answer Questions 6-8 In order to e…

Use the following data to answer Questions 6-8 In order to estimate the relationship between the sales and price of umbrellas we decided to test the following model: Y = β0 + β1X + β2X2 + ε Where, Y = sales (in thousands) and X = price of an umbrella. The data was collected from 30 major stores in Madison downtown and the ANOVA summary follows:  

Create a method called calcVal that has two numeric paramete…

Create a method called calcVal that has two numeric parameters and returns a number.  Return the difference of those two values (first one minus the second).  The parameter and return data types should match the data type for the promptUserData method created in the last question. Just like the last question, don’t include the main method or public class, just the method described.  If needed, assume Scanner package has been imported.  Also include the javadoc.