Write a program that performs a countdown. It should read a single integer and it should print a countdown from that integer.
With n as the input, your program should produce the following with one item per line: n, n-1, n-2, …, 2, 1, Go!
3
3
2
1
Go!
5
5
4
3
2
1
Go!
try next: seq1
Copyright © 2020-2021 Rudy Matela
This text is available under the CC BY-SA 4.0 license.
Originally available on cscx.org/countdown1