The question asks for a foreach solution
public static int countEmptyBowls(Bowl[] balls){
int sum=0;
for(Bowl bowl:balls){
if(bowl.getEmpty() == true){
sum++;
}
}
...
Type: Posts; User: MikeIsNotHere
The question asks for a foreach solution
public static int countEmptyBowls(Bowl[] balls){
int sum=0;
for(Bowl bowl:balls){
if(bowl.getEmpty() == true){
sum++;
}
}
...
yeah I saw that, I made so many changes that I forgot to update other parts, lol
through countChars
I used 26 of these for scoreline(mine is named scoreboard)
System.out.println("a = " + scoreboard[0]);
then I linked all the methods into a new method, runProg, and put in...
yes i just solved your all problem, you need to change scoreline to have it print out a table(right now it doesnt do anything), and you need to combine all the methods in LetterProfile into one new...
can you post a bigger pic? I can barely see anything lol
can you explain scoreLine? I didn't use that for my submission
I just tried that, it prints out "25", that's it. so I think his code is fine. also I found a few compilation errors
btw, kbrady, do you go to umass amherst? attend cmpsci 121? with Moll? this is...