>reading "illegal else without matching if"
It's pretty straightforward. To have an else clause you first need an if clause. Since the closest match is a while loop, you've created a syntax error.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
I'd guess that you intended this:
if (current > highest);
to be this:
if (current > highest){
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314