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
kc0arf
Posting Virtuoso
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57