Zebra0.com

javaBlast off 2 ways

Blast off 2 ways

This loop prints from 10 down to 0. In the second program we combine the decrement num with -- as part of the print statement.