From b7bcfa8489444dc61243d01b4dcd03049da92abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=BA=8E=E6=BA=AA?= <1643113541@qq.com> Date: Thu, 6 Aug 2020 21:28:22 +0800 Subject: [PATCH] ex.java --- ex.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ex.java b/ex.java index e69de29..d3fbce8 100644 --- a/ex.java +++ b/ex.java @@ -0,0 +1,13 @@ +import java.util.Scanner; + +public class ex +{ + public static void main(String args[]) { + Scanner input = new Scanner(System.in); + double x=input.nextDouble(); + double y=Math.pow(Math.E, x); + System.out.println(y); + } +} + +