string rev;
for(int i =1; i<=(int)user.length();i+=2)
{
rev = user.length[i+1];
rev = user.length[i];
}
this is a part of my code where "user" is the user inputted text.
I'm trying to get the output to do this.
input - square
output - er au qs
I've been stuck on this for a long time; i can't seem to figure it out.
Please help.