โ Back to If Statements
Question 380
Digit Character Check
Digit Character Check
Read a single characterc. If it is a digit (between0and9), printDigit; otherwise printNot a digit. For example, given the input7, the program prints: Digit
Expected Output:
Digit
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.