Your function definition:
does not match your function prototype:Code:float computedecimal (degrees, minutes, seconds)
You should keep the parameter names in the prototype to avoid this kind of mistake.Code:float computedecimal (int, int, int);