SyntaxError: Unexpected token (38:2)
Hello @gozalsabirova! Next time you ask a question, it would be more helpful to link the repl rather than share screenshots, but to answer your question:
The problem is that you have no value in between the braces. Therefore, the waits for a variable to be passed, and then unexpectedly stumbles across the ending brace (
}). Therefore, it raises an error pointing it out. To fix it, you should include the variables you want to print inbetween the braces, as shown below:
Please mark this as the answer if it helps! Thank you!
You need a semicolon at the end of each line (not the if or else if statements).