✔ 最佳答案
Assuming you're using Java:
Read the string one letter at a time from the last letter to the first using a for loop, a control variable, and the .length() method. Each iteration, concatenate each letter to the new (backwards) string using the charAt() method. Your for loop should take this form:
for(int x = string1.length()-1; x>=0; x--){
string2=string2+string1.charAt(x);
}