This question highlights the use of:
- if statements
- else if statements
- and else statements
In whatever language you're looking at, the syntax may be slightly different for those. In each statement you are also going to provide <, <= in your conditions and finally the else statement to grab everything at or after 2000.
The print statement is also needed, and depends on which language you are looking at. For C++ you could use a cout << "Message\n";, in Java, you could use System.out.println("message"); and it would give you the newline after the message. The example in C++ uses the newline character "\n".
if, and else if statements have a syntax of if (condition) { code } and else statements do not have a condition. I think you can figure out the answer to the problem with these hints. Good luck!