Problem Statement
Read a positive integer, implement countDigits, and print how many digits it has.
DEMO-OOP-33 โข Object Oriented Programming
Read a positive integer, implement countDigits, and print how many digits it has.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
7
Digits: 1
1234
Digits: 4
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question