Trig or treat!

Here's a litle program I wrote to demonstrate your basic trig functions in C. See if you can guess what the trick is. Paste it into a file called halloween.c To compile it, use any "C" copiler, such as the free gcc: