I am new to programming and trying to complete a program for school. The assignment is to compute the perimeter and area of a triangle, given the input of the three sides. In addition, the program is to return the classification of the triangle, whether isosceles, right, equilateral, or scalene. However, after declaring my variables as doubles, I am getting an "Non-Ivalue in Assignment" error on line 66. Please advise to my mistake. Thanks.
AKA, replace "=" with "==" to compare the two values, (Edit: But only at that point, as you're not assigning a value to a variable, merely comparing it with another variable) Also, I think it is "good" practice to put the briefer statement first, so: if (pow (C,2) == pow (A,2) + pow(B + 2))