Hot answers tagged

1 vote

PSET 2: Nested IF statement

You have made a mistake that is very frequent among novice programmers, you check for the returned bool using ==. You should instead use something like: if (islower(text[i])) { // do things... } ...
  • 7,356

Only top scored, non community-wiki answers of a minimum length are eligible