From c2934d3593fa831665a14a744c9a314b13ee4ee0 Mon Sep 17 00:00:00 2001 From: lxh <1252382684@qq.com> Date: Thu, 6 Aug 2020 22:25:05 +0800 Subject: [PATCH] ex1.txt --- ex1.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ex1.txt diff --git a/ex1.txt b/ex1.txt new file mode 100644 index 0000000..8c35a10 --- /dev/null +++ b/ex1.txt @@ -0,0 +1,16 @@ +l + +public class ex { + + public static void jisuan_ex(double x) { + // TODO Auto-generated method stub + double e=Math.E; + double x,result; + System.out.println("请输入x的值"); + result=Math.pow(e,x); + System.out.println("result="+result); + break; + } + + } +} \ No newline at end of file