#include <DHT.h> 
DHT sensor(A4, DHT22);
float temperature ;
float humidity;
float array[4][2];

void setup() {
  Serial.begin(9600);
}

void loop() {
  for(int i=0; i<=4; i++){
      temperature = sensor.readTemperature();
      humidity = sensor.readHumidity();
      array[i][0] = {temperature};
      array[i][1] = {humidity};
      Serial.println(array[i][0]);
      Serial.println(array[i][1]);
      delay(5000);
  }
}