Write an if statement that displays the word digit if the char variable ch contains a numeric

Question:

Write an if statement that displays the word “digit” if the char variable ch contains a numeric digit. Otherwise, it should display “Not a digit.”

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: