change Line 19 from
else first= b; second= c; to



else{first= b; second= c;}

same for the other two errors