Single or Multi Digit Problem
Single or Multi Digit Problem — ExecCode School DSA Practice
Solve the Single or Multi Digit problem on ExecCode. Free online school DSA practice in Input & Basic Conditions. Write and run code in Java, C++, Python — no signup required to run.
Problem description
You are given one whole number N. Your task is to if N is less than 10, print Single Digit. Otherwise print Multi Digit.
Examples
Input 5; Output Single Digit. Input 15; Output Multiple Digit
Constraints
-10^6 <= N <= 10^6
Practice Single or Multi Digit free on ExecCode. Browse DSA problems, topic map, and placement guides.