The syntax error being reported means you have to return highest, not the highest derefenced.
The logic error is that you need to have the ability to change the value of highest so don't try to force highest to be a const double in the first place.
Reputation Points: 718
Solved Threads: 373
Nearly a Posting Maven
Offline 2,253 posts
since Jul 2005