Write a Java program MyStatistics.java, 1) Use keyboard to input a group of integers (at least 5
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Java program MyStatistics.java,
1) Use keyboard to input a group of integers (at least 5 integers), separated by space.
2) please count how many numbers (count_val), and what is the average value (mean value in statistics) (mean_val), and the sum of all the numbers (sum_val)
3) print out all the results (count_val, mean_val, and sum_val) in this format : Your input has xx numbers The sum is : xx The mean is: xx
write this code in the simplest way possible, without using parse(Int).
Related Book For
Posted Date: