Question: thanks! (: /* PROBLEM 5 */ /*Given the following code, write the is_Valid and area_triangle methods. Ensure that you comment the code statements and create
thanks! (:

/* PROBLEM 5 */ /*Given the following code, write the is_Valid and area_triangle methods. Ensure that you comment the code statements and create the method JavaDoc comments. */ public class CodingAssignment2_P5 public static void main(String[] args) Scanner in = new Scanner(System.in); System.out.print("Input Side-1: "); double side1 = in.nextDouble(); System.out.print("Input Side-2: "); double side2 = in.nextDouble(); System.out.print("Input Side-3: "); double side3 = in.nextDouble(); System.out.println( is_Valid (side1, side2, side3) ? "The area of the triangle is " + area_triangle(sidel, side2, side3): "Invalid triangle" ); //ADDITIONAL METHODS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
