remove "char" on line 23, one doesn't pass the type of variable to function call
I figured it out
Its not necessary to declare functions' arguments' object types when invoking them in main, so take out char
line 23: I changed "cout << IsVowel (char letter)" to "cout << IsVowel(letter)" and it worked perfectly
Hope this helps someone having the same problem