Java For BettCodeWiz Only
import java.io.*; import java.util.StringTokenizer; public class vowelsrus { private static FileInputStream inFile; private static InputStreamReader inReader; private static BufferedReader reader; private static StringTokenizer strTkn; private static String line, word, suffix, wordPlural, wordSuffix, substring, substringSuffix; private static int wordLength, suffixLength, i, j; private static char lastChar, secondLastChar, firstChar; public static void main (String args[]) throws IOException { initFile(); getData(); inFile.close(); } public static void initFile() throws IOException { inFile = new FileInputStream ("c:\\vowels.txt"); inReader = new InputStreamReader(inFile); reader = new BufferedReader(inReader); } public static void getData() throws IOException { line = reader.readLine(); while(line != null) { strTkn = new StringTokenizer(line); word = strTkn.nextToken(); suffix = strTkn.nextToken(); formPlural(); addSuffix(); printResults(); line = reader.readLine(); } }