I need help for my school project

I want to operate the 4 channel relay with lm35 respectively. The first relay is at 10 degrees, the second relay is at 20 degrees, the third relay is at 30 degrees and finally the fourth relay is at 40 degrees. I am using Arduino nano. I need code

The first thing you need to do is to get the temperature. I suggest trying the example here https://www.instructables.com/Arduino-Temperature-Sensor-Using-LM35/

Welcome to the forum

This forum is not a free code writing service and especially not for school assignments

There is a section of the forum where you can ask for paid help. Would you like your topic moved there or are you going to try the assignment for yourself ?

Try it and come back with any problems that you encounter

You will find more examples if you search "arduino dht relay"... you can then use the LM35 example as the thermometer.

Make the LM35 example work first, then make a relay example work second, and then combine the two. If you have questions, show your work the program code and a circuit drawing.