Read the given code and answer the questions:-
for( int i=2; i<=4;i++)
{
System.out.println((2*i));
i=i++;
}
a. Write the initialization part in the above loop.
b. Write the update statement.
c. Write the body of loop.
d. Give the output.
e. How many times the given loop will execute.
Answers
Answered by
0
Answer:
this code( int i=2; i<=4;i++) is for loop control
Similar questions