a) Create an array x of 20 random double values, each between 1.0 and 100.0 (i.e., declare/create the array, then populate it with 20 random doubles).
b) Output the number of items in the array by printing the expression x.length.
c) Output the first array item, x[0].
d) Output the last array item. Be careful to choose the right index.
e) Print the expression x[x.length - 1]. Why is this value the same as in part (d)?
f) Use a for loop to print all the values in the array without labels.
g) Use a loop to print all the values in the array with labels to indicate what each element is.
h) Use a for loop to print all the values in the array in reverse order with labels to indicate what each element is.