#include "functions.hpp"
#include <string>
// Your function definitions should go in this source file.
bool IsValidLetter(char letter) {
std::string valid_letters = "\' aeioupkhlmnw";
for (unsigned long i = 0; i < valid_letters.length(); i++) {
if (letter == valid_letters[i]) {
return true;
}
}
return false;
}
bool IsVowel(char letter) {
std::string valid_letters = "aeiou";
for (unsigned long i = 0; i < valid_letters.length(); i++) {
if (letter == valid_letters[i]) {
return true;
}
}
return false;
}