Fix the countdown
Medium๐ท๏ธ Debugging๐ Trace, Debug & Test
๐งฉ The problem
This program should count down from N to 1, but it never stops! Find the bug and fix it.
SET N = 3 โฆ WHILE N > 0 โฆ DISPLAY N โฆ END WHILE
Examples
Input: 3 โ 3 โ 2 โ 1
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.