Lab Quiz 2 - Vowel counter
Due at the end of lab period.
Submit your program to your directory on neelix, in the RU04 folder.
Write a program which asks the user
to enter a String and then counts the occurrances of each lowercase vowel that
appears in the String (a, e, i, o, and u).
Please enter a string:
|User inputs:||all i wanna do is code java!|
Vowel counts for the string
"all i wanna do is code java!" :
Name your program file labquiz2.java and save it to the RU04 folder on neelix.
Extra credit: Attempt this
only after you have submitted a working version of the above program!
For 2 points extra credit (that's an extra 20 percent), make your program case insensitive, so that it counts a vowel regardless of whether it is upper or lowercase.
|Program outputs:||Please enter a string:|
|User inputs:||JAVA rules!|