Here is my task:
Create a class named MyTriangle that contains the following two methods: /** Return true if the sum of any two sides is *
Create a class named MyTriangle that contains the following two methods:
/** Return true if the sum of any two sides is *
You are just declaring a variable called "isValid" and setting it equal to true. You need to instead calculate the length of the sides before you check if the input is valid. Then you call the isValid function by calling
isValid(side1, side2, side3);