0
Write a program that prints all the odd numbers from 25 to 1 (in decreasing order).
2 Answers
+ 1
public class Program
{
public static void main(String[] args) {
for (int i = 25; i>0; i--) {
if (i%2==1) System.out.println(i);
}
}
}
0
Show as your code attempt