Änderung der Wörter in Großbuchstaben

This commit is contained in:
lechselle103415 committed 2026-10-26 09:01:13 +01:00
1 parent 5bd71ca48d
commit 4459715ea1
1 file changed
+8
+8
View File
@@ -28,5 +28,13 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
}
}
for(int i = 0; i < MAX_WORD_LEN; i++)
{
for(int j = 0; j < MAX_WORD_LEN; j++)
{
words[i][j] = toupper(words[i][j]);
}
}
return count;
}