Пример #1
0
 public static double printPerimeter(Triangle tri)
 {
     return(tri.getPerimeter());
 }
Пример #2
0
 public static double printPerimeter(Triangle t)
 {
     return t.getPerimeter();
 }
Пример #3
0
 public static double printPerimeter(Triangle pTriangle)
 {
     return pTriangle.getPerimeter();
 }
Пример #4
0
 public static double printPerimeter(Triangle inTriangle)
 {
     return(inTriangle.getPerimeter());
 }