Computer Science, asked by Akshima123, 1 day ago

Give Output for(Java):
for(int i=1;i<=4;i++)
{ if(i%2==0)
break;
else {
System.out.println("i="+i); } }

Answers

Answered by samarthkrv
2

Answer:

the output is -

i = 1

Explanation:

Similar questions