help for the program for water tank

Line 7 missing semicolon.
Can I ask what you're trying to do, and why doesn't it involve an Arduino?