Firstly, how does one use a scanner class to input a character
System.out.println("Enter the character you want");
Scanner sc = new Scanner (System.in);
char character;
character = sc.charAt(0); //????? wrong
Secondly, what is wrong with these few lines of code. I want to load my array
public class Ciphers {
//instance variable
private int lookuptable[][] = new int [26][26];
for (row=0; row < 26 ; row++ ){
for (col=0; col < 26; col++){ // load table
lookuptable = lookuptable[row][col];
}
}
}
Each row should have the numbers 0 to 26.
Thanks.

