This probably goes outside the bounds of this assignment, but perhaps something interesting to think about is that Y is sometimes a vowel as well: When is "Y" a vowel? - English Language & Usage...
Type: Posts; User: KevinWorkman
This probably goes outside the bounds of this assignment, but perhaps something interesting to think about is that Y is sometimes a vowel as well: When is "Y" a vowel? - English Language & Usage...
Take a look at the API for Scanner: Scanner (Java Platform SE 8 )
What does the next() function return? Have you tried printing out the value of s1 after you read it in?
Hint: is there a method...