Answer:
3, <= 15, +=3
Step-by-step explanation:
Required.
Fill in the gaps
The given code snippet written in Java programming language is an iterative statement that prints from 3 to 15 (both inclusive) with an increment of 3.
This means that, the beginning of the loop is 3 and is represented by i = 3
Also, the end is 15 and this can be represented by i<=15.
This means that all numbers less than or equal to 15 be printed
And the increment is 3.
This can be represented in two ways.
i+=3 or i = i + 3
But as used in the options, we go with i+=3
This means that each interval is separated by 3
So, the loop when filled with the above statements is:
for(int i = 3; i <=15; i+=3)
{
System.out.print(i+" ");
}