Count 1 to 10 Problem

Count 1 to 10 Problem — ExecCode School DSA Practice

Solve the Count 1 to 10 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 Count 1 to 10. Your task is to solve Count 1 to 10. Think about the whole numbers from 1 to 10. Count how many numbers that is, and print only the count.

Examples

Input ; Output 10. Input ; Output 10

Constraints

None.

Practice Count 1 to 10 free on ExecCode. Browse DSA problems, topic map, and placement guides.