help for the program for water tank

AWOL:

if(a=0&&b=0&&c=0&&d=0)

I know it is in a comment, and you didn't post it between CODE TAGS, but those are assignments, and will ALWAYS be false.

Good luck with "printf"

thanks
sir but I did not understand what are you trying to say pl explain