@@ -0,0 +1,339 @@
+%0A// https://www.hackerrank.com/contests/30-days-of-code/challenges/day-17-exceptions/submissions/code/4682825%0A%0Aclass Calculator %7B%0A    public int power(int n, int p) %7B%0A        if (n %3C 0 %7C%7C p %3C 0)%0A            throw new IllegalArgumentException(%22n and p should be non-negative%22);%0A        else%0A            return (int) Math.pow(n, p);%0A    %7D%0A%7D%0A

Create Day17-Exceptions.java