Using an array of 6 srf02 sensors

I am attempting to read through six srf02 sensors all arranged in a circular layout. the first thing is to put all in an array and then use a result that is greater than a pre-defined constant. If there are more than one result greater than the predefined contant, I want to be able to randomly use anyone of the said results.

const int threshold = 80;   // an arbitrary threshold level


#include <Utility.h>
#include "SRF02.h"

SRF02 srf02[6] = 
{ 
  SRF02(0x70, SRF02_CENTIMETERS),
  SRF02(0x71, SRF02_CENTIMETERS), 
  SRF02(0x72, SRF02_CENTIMETERS),
  SRF02(0x73, SRF02_CENTIMETERS),
  SRF02(0x74, SRF02_CENTIMETERS),
  SRF02(0x75, SRF02_CENTIMETERS)
};


void setup()
{
  // start the I2C bus
  Wire.begin();
foreach (sfr02[6], SRF02_CENTIMETERS)

}

And…?

I’ve got four SRF02s, though I’d advise against using the library calls; IIRC, it fires all the transmitters at once (or at least as fast as the I2C can fire them), so you can get false results when echoes are received by devices that didn’t transmit.
OTOH, you’ll potentially get a faster update rate.