Beginner

Countdown

Print a countdown from 9 to 0.

Write a program that prints the digits 9 through 0, each on the same line.

Requirements:
• Output must be exactly: 9876543210

• Use a loop (don't just print each character individually)

• Halt after printing

Hint: ASCII '0' is 48 (decimal). To convert a digit n to its ASCII representation, add 48.

1
2
3
4
5
6
7