Question: What needs to go into the blank for the enhanced for loop to output: 5 * 2 = 1 0 1 0 * 2 =

What needs to go into the blank for the enhanced for loop to output:
5*2=10
10*2=20
15*2=30
int[] numbers ={5,10,15};
for(int number : numbers){
System.out.println(number +"*2="+_________);
}
number *2
numbers *5
numbers[number]*2
number *5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!