← Back to Printing
Question 265
Countdown from Five
Countdown from Five
Using a loop, print a countdown from 5 down to 1, separated by single spaces (see Expected Output). There must be no trailing space after the final number.
Expected Output:
5 4 3 2 1= newline. No newline after the last line.
Hints3 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.