Question: Java Write a program that does the following: 1. Prompts for 5 integers from the user. 2. Prompts the user for an option: 1- to
Write a program that does the following: 1. Prompts for 5 integers from the user. 2. Prompts the user for an option: 1- to find the minimum, 2- to find the mean, 3-to find the variance. 3. Finds the Minimum. 4. Calculates the Mean of the numbers. 5. Calculates the Variance of the numbers. Use the following formulas to calculate the mean and the variance. mean - i 1 variance 2Nx- mean)2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
