السلام عليكم هذا هو كودي ولكن تنقصه بعض الخطوات الهامة أرجو المساعدة
الهدف من الكود هو ان ياتي بالحرف الأوسط من كلمة ثم يستبدل أي حدوث له بعد ذلك بالحرف التالي في الترتييب الأبجدي لا أريد عملها بــــloop or Arrary
وجزاكم الله خيرا
// this code should replace any occurence of the middle char with the nex char in unicode
String str;
int x,z,w;
char y;
System.out.print("Please Enter String \n");
str=console.next();
x=str.length();
y=str.charAt(x/2);
// Now The problem that I want to get the next char in unicode
str=str.substring(x/2, x);
// I will use the replace method