line 4 - error C2143: syntax error : missing ';' before '=='
line 4 - error C2365: 'hatSize' : redefinition; previous definition was 'function'
declaration of 'hatSize'
line 63 - C2659: '=' : function as left operand
line 65 - error C2659: '+=' : function as left operand
found a couple of things
1. in the definition of the function hatsize you need to make the code look like this
[code]
double hatsize(double height, double weight);
{
return(weight/height)*2.9;
}
2. no return in the function jacketsize
2a. in function jacketsize you need to declare varible jacketsize as a double.
i have got an error in the function jacketsize for fix 2a but i got a clear from the code in instruction 1. i use devc++. you don't need the {code} [/code] just what is between for instruction 1