CJCoding With Joseph

Is It a Digit

Read a single character from input. If it is a digit (0-9), print Digit. Otherwise print Not a digit. For example, for input 7, print:

Digit

Expected Output:

Digit
Topics:
If Statements
๐Ÿ“ฅ Auto-Input:
7
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.