import java.io.*; public class Descramble { public String text; public static String words[] = new String[10]; public static int[] wordValues = new int[10]; public static String[] wordlist = new String[2000]; public static int a=0, n=0; FileReader fileReader = null; static BufferedReader bufReader = null; public static void main(String args[]) throws IOException { try { bufReader = new BufferedReader (new FileReader("wordlist.txt")); } catch (Exception e) { System.out.println ("File not found.\n"); } for(int c=0; c<10; c++) { if(c==0) { words[c]=SavitchIn.readLine().substring(2); } else { words[c]=SavitchIn.readLine().substring(3); } System.out.println(words[c]); for(int t=0; t