Question: JAVA 1- Declare a reference variable for an array of doubles. Name the array prices. 2- Instantiate the prices array to hold 50 doubles. 3.

JAVA
1- Declare a reference variable for an array of doubles. Name the array prices. 2- Instantiate the prices array to hold 50 doubles. 3. Set the third array element of prices to 13.99. REMEMBER: Array indexing starts at 0. 4- Write a for loop to count the number of values in the prices array that are greater than 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
