create a class named mytriangle that contains the following two
create a class named mytriangle that contains the following two methods:/** returns true if the sum of any two sides is* greater than the third side. */public static boolean isvalid(double side1, double side2, double side3)/** returns the area of the triangle. */public static double area(double side1, double side2, double side3)write a test program that reads three sides for a triangle and computes the area if the input is valid. otherwise, it displays that the input is invalid. the formula for computing the area of a triangle is given in exercise 2.21.
Price Type: Negotiable
Total Proposals: 6
1 Current viewersl
11 Total views
Proposals Reputation Price offered