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
Geography,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
5 months ago
English,
10 months ago
Math,
10 months ago