Because it isnt.
You have a value on the left hand side of the assignment operator, and a value on the right hand side.
It is as if you would write "5 = 2 + 2". Its not an assignment, its not...
Type: Posts; User: Cornix
Because it isnt.
You have a value on the left hand side of the assignment operator, and a value on the right hand side.
It is as if you would write "5 = 2 + 2". Its not an assignment, its not...
Could you try to explain to us what you are trying to do in the erroneous line?
Try to explain it step by step:
Math.pow(hypotenuse,2)=Math.pow(side_1,2)+Math.pow (side_2,2);
If I try to compile this code I get very different errors. Are you sure you copied the right output?