Java tutorial
//package com.java2s; public class Main { public static float hypo(float a, float b) { return (float) Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2)); } }