Answered: C program not C++ program Set hasDigit to true if

Answered: C program not C++ program Set hasDigit to true if