Averaging Multiple DHT22 reading's for relay

Ok so I am trying to get the average of 3 DHT22's, for both Temp & Humidity; the goal is to have a relays activate when the temp or humidity go to low, and to shut off when they are at the desired levels.

The trouble I am currently having is getting an average of the readings for the sensors, all the code I can find doesn't seem to fit what I'm look for. Any help would be appreciated! Thxs for the time taken.

Problem Solved!