So I need this to print when vowel you entered instead of just telling you that you wrote a vowel.
I'm straight up not sure how your suppose to do that! I went ahead and wrote the code for inputting vowels not sure whats next.
#include <iostream>
using namespace std;
int main ()
{
char letter;
cout << "Enter a single lowercase letter and press Enter: ";
cin >> letter;
switch (letter)
{
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
cout << "You entered a vowel!";
break;
}
cout << endl;
system("PAUSE");
return EXIT_SUCCESS;
return 0;
}