Please make ONE code snippet that we can paste and immediately see the same error as you do. Confirm using an online compiler that your snippet indeed reproduces the error. If you want to add comments in the middle of the code, add them as the actual
//
comments, not as text that prevents us from copying the code as one big snippet.