CJCoding With Joseph
15per day

Print a Countdown on One Line

Use a loop to print a countdown from 5 down to 1 on a single line, separated by single spaces.

Expected output:
5 4 3 2 1

Expected Output:

5 4 3 2 1
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.