if ((word{i} >= 'a' && word{i} <= 'z') || (word{i} >= 'A' && word{i} <= 'Z'))
{
while (points{j} < word{i})
{
j++;
}
total += points{j}
}
The error happens on the first line of the code. The complier wants me to put a parentheses around the "word" at the beginning of the if statement. But if I do that, the whole array will be messed up. I'm wondering why it won't accept my if statement and what I could do to fix it. Thank you!