I want to add the letters "ç," "ğ," "ı," "ö" and "ü" into this encrypter's alphabet, and maybe special chars, too. How can I do that?
for (int i = 0; i < metin.length(); i++) {
char harf = metin.charAt(i);
if (harf >= 'a' && harf <= 'm') harf += i;
else if (harf >= 'A' && harf <= 'M') harf += i;
else if (harf >= 'n' && harf <= 'z') harf -= i;
else if (harf >= 'N' && harf <= 'Z') harf -= i;
System.out.print(harf);
}