Java newb, needs some pointers.

Associate
Joined
18 Aug 2010
Posts
347
Location
London
I'm not asking for anybody to todo the work for me and nor do I want anyone too as that would kinda flaw the point of uni but I really need some help.


If you could just send me a message I would greatly appreciate it.

Thanks for your time.
 
Last edited:
Sorry i dont fully understand what your saying, I need to do the same thing as counting the spaces but this time counting all vowels in an input. But i dont understand how it is not as simple as just adding

char c = sLC.charAt(i);
if (c == ' ' || c=='a' || c=='e' || c=='i' || c=='o' || c=='u') {
count++;

to what I already had.

Yes im using an IDE BlueJ

Thank you for this help by the way, been great.


Edit:

Fixed it :D
 
Last edited:
Back
Top Bottom