Mr. Mosh code is not working the same

once again I have an issue with Mr. Mosh’s code. For some reason despite me having the same code as him in part 7: of Strings in the Ultimate C++ course part 2
I am always getting false no matter of any edits I make.


Could it be so that since I am using a newer version of Clion, my code is not working the same as his?

You are returning false when isdigit(customerNumber[i]) is true, which is a requirement in the problem condition.

thanks! I fixed that section and it started to work as it is supposed to.