Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Vivian Chu
Greenhorn
+ Follow
4
Posts
1
Threads
0
Cows
since Nov 03, 2008
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Number Posts (4/100)
Number Threads Started (1/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (0/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (4/10)
Number Threads Started (1/10)
Number Likes Received (0/3)
Number Likes Granted (0/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by Vivian Chu
Finding vowels help!
I fixed the statement error, I am still confused on how to declare my variables: aisfound, etc.
show more
15 years ago
Beginning Java
Finding vowels help!
Also, I know I need to declare the variables aisFound, eisFound, etc. Did I do this correctly? I want them to to be False initially.
show more
15 years ago
Beginning Java
Finding vowels help!
It is saying
if(i = 'a') aisFound==true;
is not a statement.
I do not understand how to fix this?!?
show more
15 years ago
Beginning Java
Finding vowels help!
I am trying to read a text file of words to find the words that have all 5 vowels in order (a then an e then an i, etc) Then I want to print all the words that do all the vowels.
I am having problems with what I have written so far!
static void findConsecVowelWords (String[] words) { aisFound=False; eisFound=False; iisFound=False; oisFound=False; uisFound=False; for (int i=0; i<words.length; i++) {str=words[i]; char[]letters=str.toCharArray(); if(aisFound) { if(i = 'a') aisFound==true; } else if(eisfound){ if(i = 'e') eisFound == true;} else if(iisfound){ if(i = 'i') iisFound == true; } else if(oisfound){ if(i = 'o') oisFound == true; } else if(uisfound){ ifi = 'u') uisFound == true; } if(aisFound && eisFound && iisFound && oisFound && uisFound) System.out.println(i); else(break); } }
show more
15 years ago
Beginning Java