Java: Programming - Count Vowels - main
Problem
Write a program that reads a string and displays the number of vowels in it. This main program program is primarily responsible for handling the input-output issues, and it will call a method to get the number of vowels.
Details
- Loop. Read the input in a loop until the user hits Cancel or enters or a string with no characters in it (length 0). Display the number of vowels in each input string by (see below).
-
Call. You can call the following method, which you can assume is already written:
public static int countVowels(String text)
















Current Comments
0 comments so far (post your own) View All Comments Latest 10 Comments: