Rain water harvesting code doubt!


what is wrong with this code
pls help !!