Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static double calcularHipotenusa(double catetoA, double catetoB) {
//TODO suponemos valores correctos
return Math.sqrt(Math.pow(catetoA, 2) + Math.pow(catetoB, 2));
}
}