Create three arrays injava language, each of length 50. The arrays should be double[],int[], and String[].
Put your name in theString array at location 20. Put your favorite icecream in at location 30. Put some random string in at location10.
For the integer array,fill it with the numbers 49, 48, 47… 1,0 in locations0,1,2,…48,49 respectively.
For the doubles, put2^i in the i-location. Consider putting 1 in the 0 position, and”double the previous number” in each subsequent slot.
Finally, in a loop,print out (use System.out.println(…)) the loop index, the String,the int, and the double for each slot, starting at 0
OR
OR