Pure Programmer
Blue Matrix


Cluster Map

Project: Countdown!

Write a program to countdown from 10 to 0. Print each number on a line by itself. Print "Blastoff!" for 0. Use only string literals in your solution.

Output
$ javac -Xlint Countdown.java $ java -ea Countdown 10 9 8 7 6 5 4 3 2 1 Blastoff!

Solution