help for the program for water tank

Could you please clean up that last post?