import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Hw3_4 { public static void main(String arg[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println(\"Enter the Name Of Employee\"); String str = br.readLine(); str= str.toUpperCase(); str = str.replaceAll(\"\\\\s\",\"\"); //for removing space char[] c=str.toCharArray();//code is used for converting the String into Array for one-by-one matching int lp=0; int count=0; for(int i=0;i Solution import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Hw3_4 { public static void main(String arg[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println(\"Enter the Name Of Employee\"); String str = br.readLine(); str= str.toUpperCase(); str = str.replaceAll(\"\\\\s\",\"\"); //for removing space char[] c=str.toCharArray();//code is used for converting the String into Array for one-by-one matching int lp=0; int count=0; for(int i=0;i.