Folks, I am new to Arduino. Need help to automate water tank (water quantity)

somairm:
Please i am new to this so can you please copy paste the code with the <> so that i can see what do you mean ?

Plenty of examples just above your own post. You can find the button in the full editor (click Preview).