@@ -0,0 +1,693 @@
+import java.util.Scanner;%0A%0Apublic class Problem2 %7B%0A%09static String vowelRemover (String str)%7B%0A%09%09int i;%0A%09%09String newString = %22%22;%0A%09%09String vowels = (%22aeiouy%22);%0A%09%09for (i = 0; i%3C(str.length());i++)%7B%0A%09%09%09String deletedVowels = %22%22;%0A%09%09%09for (int e = 0;e%3Cvowels.length();e++)%7B%0A%09%09%09%09if (vowels.charAt(e)==str.charAt(i))%7B%0A%09%09%09%09%09deletedVowels = deletedVowels + str.charAt(i);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09if (deletedVowels == %22%22)%7B%0A%09%09%09%09newString = newString + str.charAt(i);%0A%09%09%09%7D%0A%09%09%7D%0A%09%09System.out.println(newString);%0A%09%09return newString;%0A%09%09%0A%09%7D%0A%09public static void main(String%5B%5D args) %7B%0A%09%09String i;%0A%09%09Scanner scan = new Scanner(System.in);%0A%09%09System.out.print(%22Enter string: %22);%0A%09%09i = scan.nextLine();%0A%09%09vowelRemover(i);%0A%0A%09%7D%0A%0A%7D%0A

Create Problem2.java