Coding
Write a program in Java to print all even numbers between 100ẞ 0 in reverse order
Answers
Answered by
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
Social Sciences,
3 months ago
Math,
3 months ago
Social Sciences,
6 months ago
English,
11 months ago
Math,
11 months ago