Question: JAVA Write a program that uses a sentinel-controlled loop to prompt user to enter positive integers x_i between 0 and 100. The program must then
JAVA Write a program that uses a sentinel-controlled loop to prompt user to enter positive integers x_i between 0 and 100. The program must then display the largest, the smallest, the mean and the standard deviation of the numbers using the following formulas. mean= (x_1+x_2++x_n)/n ; Deviation=((x_1^2+x_2^2+.+x_n^2 )-(x_1+x_2++x_n)^2)/(n-1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
