diff --git a/Startcode/input.c b/Startcode/input.c index fbe94a6..f4d959f 100644 --- a/Startcode/input.c +++ b/Startcode/input.c @@ -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; } \ No newline at end of file