/** * Created by xabcd on 2019/2/16. */ public class java_mathsqrt { public static void main(String args[]) { double num= show_num( 22, 19); System.out.println(num);} public static double show_num(int a,int b){ return Math.sqrt(a*a+b*b); } }
/** * Created by xabcd on 2019/2/16. */ public class java_mathsqrt { public static void main(String args[]) { double num= show_num( 22, 19); System.out.println(num);} public static double show_num(int a,int b){ return Math.sqrt(a*a+b*b); } }