I must scan through this:

JD IR BW TQ DW SH UB XW AH NG AS XW CH UF BW FO DW SH UB BW TQ GW UH YG JV IE VM YE JD UO

Then match up the right and left letter of each character with the corresponding character in this text:

MONCLETABDFGHIJKPQRSUVWXYZ 

So in the first text, J would have a left letter (I) and D would have a right letter (F)

This will then give me a decoded message. The only problem is I don't know what method I would use to approach this.

Anyone have any ideas? I feel like I don't have enough knowledge to even know where to begin.

I have the message (MONCLET....) and key (JD IR BW....) set up. But the decoded message is using the message and the key to create one final message.

Reading lines using this:

```
        BufferedReader f = new BufferedReader (new FileReader("C:\\assignment5\\data20.txt"));
        for (int i = 0 ; i < 2 ; i++)
        {
            key = f.readLine ();                      
            coded = f.readLine ();
            alpha = prepareKey (key);
            System.out.println (alpha);
            message = decode (coded, alpha);
            System.out.println (message);
        }
        f.close ();

```

Preparing key using 

```
private static String prepareKey (String key)
{
return key;
}

```

Preparing decoded string using

```
private static String decode (String coded, String key)
{
return coded;
}

```