Computer Science, asked by dolon892759945, 6 months ago

Coding
Write a program in Java to print all even numbers between 100ẞ 0 in reverse order​

Answers

Answered by anindyaadhikari13
1

Question:-

➡ Write a program in Java to print all even numbers between 100 and 0 in reverse order.

Program:-

class Even

{

public static void main(String args[])

{

for(int i=100;i>=0;i=i-2)

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

}

}

Similar questions