so i got the code right however it's telling me that the function that i am calling failed the test. which i have no idea what that means. this is the assignment.
Write a program that prompts the user to input a sequence of characters and outputs the number of vowels. Write a value-returning function, isVowel, that returns the value true if a given character is a vowel and otherwise returns false. Use this function to determine how many of the characters entered by the user are vowels.
By the way when I first ran your code I tried to enter this string "This is a test". Maybe you should say "Enter a word: " instead of "Write a string: ".