/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package exam; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /** * * @author ICI Makati */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) throws IOException { // TODO code application logic here ArrayList storedVal = new ArrayList(); String value; char copy; char[] vowelStr={'a', 'A', 'e', 'E', 'i', 'I', 'o', 'O', 'u', 'U'}; char[] consonantStr={'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[] numStr = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}; char[] spaceStr={' '}; String space = ""; String ans; char choice; char a = 'Y'; char b = 'y'; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); do { int vowel=0; int consonant=0; int num=0; System.out.println("Input Value:"); value=br.readLine(); storedVal.add(value); for(int i=0; i