@helloworld922 -- Wouldn't that array just return a string letter as opposed to a number (which is what is needed) ? It is supposed to return the number of vowels/consonants in a string.
Type: Posts; User: Woody619
@helloworld922 -- Wouldn't that array just return a string letter as opposed to a number (which is what is needed) ? It is supposed to return the number of vowels/consonants in a string.
Thanks for that push from both of you! However, when I do give the array values, I get something like this "[C@13caecd" returned instead of the number of vowels or consonants! Any thoughts to where I...
@aussie - "Y" is treated as a consonant.
@Norm - Are you asking if I initialized the return variables to any value? Or is that I need to assign a variable to my return variables? I'm sorry, I am...
Hello once again! I need to make a program that will count the number of vowels and consonants in a string and have that number returned. The program runs, however, it always returns vowels or...