From ae7fcebfd400711f762f31321b848a2b37a95dd6 Mon Sep 17 00:00:00 2001 From: lxh <1252382684@qq.com> Date: Thu, 6 Aug 2020 23:03:10 +0800 Subject: [PATCH] ex2.txt --- ex2.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ex2.txt diff --git a/ex2.txt b/ex2.txt new file mode 100644 index 0000000..a62afd6 --- /dev/null +++ b/ex2.txt @@ -0,0 +1,14 @@ + + + public class ex { + // TODO Auto-generated method stub + static void e(int x) { + double e=Math.E; + double result; + + result=Math.pow(e,x); + System.out.println("result="+result); + + } + + }