Error in code for SMS Project

SMS code syntax error

Please explain the error in my code and also provide the solution.
Thanks

Here is the code

The issue is resolved, it was inundation error