Question: java pleass Prompt the user to input a set of numbers. The numbers represent hourly wages so they will be between 8.25 (peon) and 60

java pleass
 java pleass Prompt the user to input a set of numbers.
The numbers represent hourly wages so they will be between 8.25 (peon)

Prompt the user to input a set of numbers. The numbers represent hourly wages so they will be between 8.25 (peon) and 60 (big boss). The user should be able to input up to 30 numbers but if the user enters-99 then the data input ceases. All of the data that the user enters should be stored in a single array. You do not need to check the input data to see if it is in the proper range assume the user will input correct data The program should calculate the average, the variance and the kurtosis of the numbers that were entered. The equation for the average is given in the book. The formula for the variance and the kurtosis (fourth centralized moment) is given Variance = (n-1) kurtosisovar where x, are the individual numbers, n is the number of data points, var is the variance, and is the average of the sample. Kurtosis gives an indication of how "peaked" the data samples are relative to a normal (Gaussian) distribution. .The variance and kurtosis must be calculated via calls to a method. That is, you need a method that inputs an array (and other parameters) and returns the variance. And you need a method that inputs an array (and other parameters) and returns the kurtosis. At the end, the program should repeat all of the numbers on one line and then print the average, variance, and kurtosis of the data sample Enter a data value (-99 to quit) 0.09.5 The variance and kurtosis must be calculated via calls to a method. That is, you need a method that inputs an array (and other parameters) and returns the variance. And you need a method that inputs an array (and other parameters) and returns the kurtosis. At the end, the program should repeat all of the numbers on one line and then print the average, variance, and kurtosis of the data sample. ''Enter a data value (-99 to quit) 09.5 .Enter a data value (-99 to quit) +08 . 75 .Enter a data value (-99 to quit) 42 .Enter a data value (-99 to quit) .014 DeEnter a data value (-99 to guit) 010.5 .Enter a data value (-99 to quit) +0-99 .The data values are .9.5 8.75 42.0 14.0 10.5 0 |The ave rage is 16.95 . The variance is 200.1375 .The kurtosis is -0.9869307510820242

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!