How many times will the following loop execute?
public static void main(String args[])
{
int i = 1;
while (i < 10)
if (i++ % 2 = )
System.out.println(i);
}
Please answer fast
no irrelevant answers please
if you don't know the answer then ignore.
Answers
Answered by
0
Answer:
Infinite number of times.
Answered by
0
It will run 5 times as compiler takes 0.5 as 0 .
Similar questions