for (int i = 0; i<10; i++) {
if (i % 2 ==0)
System.out.printlnti);
}
Answers
Answered by
1
2
4
6
8
¯hope it helped
.
.
.
Answered by
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
English,
4 months ago
Science,
4 months ago
Chemistry,
8 months ago
Science,
8 months ago
Business Studies,
1 year ago
Social Sciences,
1 year ago