178k views
3 votes
Write a for loop that prints the integers 50 through 1, each on a separate line. use no variables other than count.

User Reynard
by
8.5k points

1 Answer

5 votes
for( count = 50; count > 0; count-- )
System.out.println( count );
User Tek
by
8.1k points

No related questions found