automated commit by check50 [check50=True]

This commit is contained in:
kukemuna 2024-02-23 22:50:23 +02:00
parent 1a5c34e0d1
commit 653c22a705
1 changed files with 1 additions and 4 deletions

View File

@ -43,10 +43,7 @@ int get_score(string word)
{
word[i] = toupper(word[i]) - 65;
}
}
for (int j = 0; j < length; j++)
{
score += POINTS[(int) word[j]];
score += POINTS[(int) word[i]];
}
return score;
}