after I compiled my code, I have an error saying:Code:} double celsiusAtDepth; { double celsiusAtDepth=10*depth+20 return celsiusAtDepth; }
part1.c:29: error: expected identifier or â(â before â{â token
Up above, i posted lines 27-32
this is the only error i have left to fix, and i can't do it. Can someone please tell me why I keep getting the errror and how to fix it?