Generation

generate functionThu, 13 Jul 2023

Una función que calcule la hipotenusa dándole los catetos del rectángulo

function hypotenuse(cateto1, cateto2) { return Math.sqrt(cateto1**2 + cateto2**2) } hypotenuse(12, 5)

TypeScript
Generate More

Want to kickstart your project?Use the new AI Studio to create your code