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); + + } + + }