Arrange the following such that the program prints the even numbers till the input number. In this the case input is 20. Unselect any unwanted statements using the check box.
![]() |
i--; |
![]() |
if (i % 2 == 0) { |
![]() |
} |
![]() |
int input = 20; |
![]() |
i = i + 4; |
![]() |
System.out.print(i+ " "); |
![]() |
} |
![]() |
for (int i = 2; i < input; i++) { |
Topic: for Loop In Java