Triangle triangle2 = new Triangle();
triangle2.initTriangle(10, 1000);
System.out.println("삼각형의 넙이는" + triangle2.getArea());
Grade grade = new Grade();
System.out.println("값확인" + grade.eng + grade.math + grade.kor );
grade.initGrade(90, 70, 60);
System.out.println(grade.getAvg());
System.out.println(grade.getGrade());
Triangle triangle = new Triangle();
triangle.initTriangle(10, 5);
Triangle triangle2 = new Triangle();
triangle2.initTriangle(10, 5);
triangle.compare(triangle2); //같은 삼각형입니다.
triangle2.initTriangle(10, 10);
triangle.compare(triangle2); //다른 삼각형 입니다.