Hi, trying to write a helper function to count the amount of each vowel present in a given text file. This is a textbook exercise, not homework; just trying to understand what I'm doing wrong. Not worried about whitespace, so I'm just using the >> operator. I'm mostly there but I'm getting the wrong output. Does anyone see where I went wrong here?
Unsure what the input even is, since it isn't ever shown with the autograder. I will try converting the chars to lower before looping through the file to count.
Wales or Denmark? lol no I'm in the US. #include <cctype> is already there