programming a game of azad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brindharam
    New Member
    • May 2010
    • 1

    #1

    programming a game of azad

    how do i do this method?

    /**
    * Returns the name of the team in this
    * group which will go on to the finals.
    */
    public String teamToProgress( )
    {
    array.sort(aTea m.calculateQual ifyingPoints);/* to be completed by students */
    return ;
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    I'm guessing you want the team with the most qualifying points? Does your sort method sort ascending or descending?
    You probably want either the first or the last team in the array. Get the name of the team

    Comment

    Working...