Computer Science, asked by siddhikiv062, 8 months ago

for (int i = 0; i<10; i++) {
if (i % 2 ==0)
System.out.printlnti);
}​

Answers

Answered by burnwalsakksham416
1

2

4

6

8

¯hope it helped

.

.

.

Answered by umakant943
3

Answer:

for (int i=0; i<10;i++)

{

if ( i%2==0)

System.out.println( "it is an even number");

{

else

System.out.println(" it is an odd number");

}

}

Similar questions