Which of the following is an example of a syntax error in a program?
- A program is supposed to calculate the sum of three numbers, but displays the wrong answer.
- The programmer typed “nmae” instead of “name” when using a variable.
- A sprite in a block-based program won’t move backwards, only forwards.
- The music stops playing halfway through the program instead of continuing until the end.