Throw the 20 positive numbers entered from the keyboard into 2 separate lists as prime and non-prime. (Write using the ArrayList class.)
- Block negative and non-numeric entries.
- Print the elements of each array, from largest to smallest.
- Print the number of elements and the average of both arrays to the screen.
Write a program that finds the largest 3 and the smallest 3 of the 20 numbers entered from the keyboard, takes the averages of both groups and prints these averages and average totals to the console. (Write using the Array class)
Write a program that stores the vowels in a sentence entered from the keyboard in an array and sorts the elements of the array.