Hello,
I think there is something wrong with your const declarations above. Instead of
const float CONVERSION_FACTOR=100.0/180.0
I like the idea of:
const float CONVERSION_FACTOR=0.555;
You also forgot the ; after all of the const's in your program.
Christian
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
Offline 1,629 posts
since Mar 2004