Countdown 10 to 1 Problem
Countdown 10 to 1 Problem — ExecCode School DSA Practice
Solve the Countdown 10 to 1 problem on ExecCode. Free online school DSA practice in Loops. Write and run code in Java, C++, Python — no signup required to run.
Problem description
You are given the input needed to solve Countdown 10 to 1. Your task is to solve Countdown 10 to 1. Start from 10 and go down to 1. Print each number on the same line with a space between them.
Examples
Input ; Output 10 9 8 7 6 5 4 3 2 1. Input ; Output 10 9 8 7 6 5 4 3 2 1
Constraints
None.
Practice Countdown 10 to 1 free on ExecCode. Browse DSA problems, topic map, and placement guides.