DHT11 sensor, it didn't show on serial monitor

GolamMostafa:
Just now, I have compiled and uploaded into Arduino MEGA successfully. It is working fine.

Why do you encounter problem?

Probably, the Library has not been included correctly in the IDE? To include the dht11-master.zip Library, I have followed these steps:

1. Save the zip file in the desktop.
2. From the Tool bar of IDE: Sketch ----> Include Library ----> Add .ZIP Library... -----> Desktop ----> Select the dht11-master.zip file ----->click on Open

Hope, your problem will be solved.

Hi again, I unistalled all my libraries and started from zero. Now i made again the code and now didn't give me error. Now at serial monitor only write TEST but nothing more

#include <DHT11.h>

#include <Adafruit_Sensor.h>

DHT11 dht(2);
float temp;
float hum;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  Serial.print("TEST");
}

void loop() {
dht.read(temp,hum);
Serial.print("Temperatura");
Serial.print(temp);
Serial.print("Humedad");
Serial.print(hum);
Serial.println();
delay(1000);
}