public void tellAll(String[] percepts){
  for (int i=0; i < percepts.length; i++) {
    tell(percepts[i]);
  }
}

public void tellAll ( String [ ] percepts ) { for ( int i = 0 ; i < percepts . length ; i ++ ) { tell ( percepts [ i ] ) ; } }
each time the agent program is called , it tells the knowledge base what it perceives .
