In this task, you need to: 1. Read 10 numbers from the console and use them to populate an array using the getArrayOfTenElements() method. 2. Find and return the smallest element of an array using the min(int) method. The min(int) method must use the Math.min(int, int) method.
Smallest element of an array