SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need "string" in your call to wordLengthFunction().
wordLengthFunction()
int wordLength = wordLengthFunction(string word);
should be
int wordLength = wordLengthFunction(word);