By the way I am a beginner programmer so i don't really know what to do. This is what I tried but it just prints out the input without the letters being replaced.
import java.util.Scanner;
class converter {
public static void main (String [] args){
char[][] convert = new char [2][10];
convert [0][0] = 'I' ;
convert [0][1] = 'Z' ;
convert [0][2] = 'E' ;
convert [0][3] = 'A' ;
convert [0][4] = 'S' ;
convert [0][5] = 'G' ;
convert [0][6] = 'L' ;
convert [0][7] = 'B' ;
convert [0][8] = 'P' ;
convert [0][9] = 'O' ;
convert [1][0] = '1' ;
convert [1][1] = '2' ;
convert [1][2] = '3' ;
convert [1][3] = '4' ;
convert [1][4] = '5' ;
convert [1][5] = '6' ;
convert [1][6] = '7' ;
convert [1][7] = '8' ;
convert [1][8] = '9' ;
convert [1][9] = '0' ;
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
for (int i = 0; i< 10; i++)
input.replace(convert[0][i], convert [1][i]);
System.out.print(input);
}
}