@@ -0,0 +1,307 @@
+public class ChangePi %7B%0A  public static void main (String args%5B%5D) %7B%0A    // Result: 3.14sajdfasfasfsdfasf3.14%0A    System.out.println(new ChangePi ().changePi (%22pisajdfasfasfsdfasf3.14%22));%0A  %7D%0A  %0A  public changePi (String str) %7B%0A    return (!str.contains(%22pi%22))?str:changePi(str.replace(%22pi%22, %223.14%22));%0A  %7D%0A%7D%0A

Create ChangePi.java