Answer:
(a) Syntax Error: Missing colon symbol
(b) Logic Error: The condition is wrong
Step-by-step explanation:
The programming language is not stated; so, the syntax error may not be correctly identified.
Assume the programming language is Python, then the syntax error is the missing colon symbol at the end of the if statement. This is so because, Python required a colon symbol at the end of every if condition statement.
The logic error is also in the condition.
The condition states that all years later than 1989 but earlier than 2000 are 1980s. This is wrong because only years from 1980 to 1989 (inclusive) are regarded as 1980s.