Search:

Type: Posts; User: MikeIsNotHere

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    3,803

    Re: Simple Array Problem

    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++;
    }
    }
    ...
  2. Replies
    38
    Views
    3,708

    Re: Program not printing anything

    yeah I saw that, I made so many changes that I forgot to update other parts, lol
  3. Replies
    38
    Views
    3,708

    Re: Program not printing anything

    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...
  4. Replies
    38
    Views
    3,708

    Re: Program not printing anything

    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...
  5. Replies
    38
    Views
    3,708

    Re: Program not printing anything

    can you post a bigger pic? I can barely see anything lol

    can you explain scoreLine? I didn't use that for my submission
  6. Replies
    38
    Views
    3,708

    Re: Program not printing anything

    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...
Results 1 to 6 of 6