package wordutilitypkg;

public class UtilityMain
{
	public static void main(String args[])
	{
		int found;
		char ch;
		
		ch = args[0].charAt(0);

		if(WordUtility.isVowel(ch)) {
			System.out.println(ch + " is a vowel.");
		} else {
			System.out.println(ch + " is a consonant.");
		}

		found = WordUtility.firstVowelPosition(args[1]);
		if(found < 0) {
			System.out.println("There was no vowel found.");
		} else {
			System.out.println("There was a vowel found at " 
			                   + found + " in " + args[1] + ".");
		}
	}
}

