prin
4. Write a for loop that displays the even numbers from 61 to 100
Answers
Answered by
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