I am trying to make an app with java where you input a sentence, and the app changes the letters to other specified letters. What I need to know is how to do a "text input" and how to change the letters. Currently, I am not getting any errors, but all I get back is "testing." It makes sense, but how do I fix it? Here is what I have so far:
public class baseCoder {
public static void main(String[] args) {
String t1 = "testing";
String c = "a";
String f = "b";
String h = "c";
String j = "d";
String s = "e";
String q = "f";
String r = "g";
String u = "h";
String l = "i";
String e = "j";
String w = "k";
String m = "l";
String t = "m";
String i = "n";
String p = "o";
String o = "p";
String b = "q";
String v = "r";
String x = "s";
String a = "t";
String k = "u";
String n = "v";
String y = "w";
String g = "x";
String z = "y";
String d = "s";
System.out.println("" + t1);
}
}