Here are several test programs for your D compiler. All should be free of syntax errors. Send mail to the instructor if you find problems.
In addition to everything else that's going on, pay attention to the values returned by the various main functions. These test several different things about arithmetic expressions.