Computer Science, asked by swetha2394, 5 months ago

prin
4. Write a for loop that displays the even numbers from 61 to 100​

Answers

Answered by anindyaadhikari13
1

Question:-

Write a for loop that displays even number from 61 to 100.

Program:-

class x

{

public static void main()

{

for(int i=62;i<=100;i+=2)

System.out.print(i+" ");

}

}

Similar questions