@@ -0,0 +1,292 @@
+public int countYZ(String str) %7B%0A  str = str.toLowerCase();%0A  int count = 0;%0A  for (int i=0; i%3Cstr.length(); i++)%0A    if ((i==str.length()-1 %7C%7C !Character.isLetter(str.charAt(i+1))) && (str.substring(i, i+1).equals(%22y%22) %7C%7C str.substring(i, i+1).equals(%22z%22)))%0A      count++;%0A  return count;%0A%7D%0A

Create countYZ.java