Pure Programmer
Blue Matrix


Cluster Map

Project: Hexadecimal Countdown

Write a program to countdown from 16 to 0. Print each number on a line by itself. Print "Blastoff!" for 0. Use only [[hexadecimal]] integer [[literals]] in your solution to print 1-16.

Output
$ g++ -std=c++17 HexadecimalCountdown.cpp -o HexadecimalCountdown -lfmt $ ./HexadecimalCountdown 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Blastoff!

Solution