import java.io.BufferedReader; import java.io.InputStreamReader; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Ponki */ public class charAtword { /** * @param args the command line arguments */ public static void main(String[] args) { String strLine=""; String c=""; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter Phrase: "); try{ strLine=br.readLine(); } catch(Exception e){ System.out.println("Error:"+e.toString()); } char [] conso={'B','b','C','c','D','d','F','f','G','g','H','h','J','j','K','k','L','l','M','m','N','n','P','p','Q','q','R','r','S','s','T','t','V','v','W','w','X','x','Y','y','Z','z'}; char [] vowel={'A','a','E','e','I','i','O','o','U','u'}; char [] num={'1', '2', '3', '4', '5', '6', '7', '8', '9', '0'}; int noOfconso=0; int noOfvowels=0; int noOfnum=0; String a=strLine.toLowerCase(); String b=strLine.toUpperCase(); String strLine2=" "; String d=""; String e=""; for (int i=0; i