Computer Science, asked by tutorenglish800, 4 months ago

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 bssujana
0

Answer:

Infinite number of times.

Answered by ak8521116376
0

It will run 5 times as compiler takes 0.5 as 0 .

Similar questions