I can't seem to figure out how to reverse the order of the letters in a string. This is what i have so far...
public String reverse(String normal)
{
//reverse the letters in string
char last; //last letter of string
int leng = 0; //length of string
int i;
for(i = 0; i < leng; i = i - 1)
{
leng = normal.length();
last = normal.charAt(leng - 1);
}
String reversed = last;
return reversed
}