Someone
public text v1 · immutable#include <iostream>
#include <string>
#include <conio.h>
using namespace std;
int main(){
string myname;
cin >> myname;
unsigned int length = myname.length();
char reverse[length];
for (int i=length-1;i>=0;i--){
reverse[i-1]=myname[length-i];
}
cout << reverse[0] << reverse[1] << reverse[2] << reverse[3] << reverse[4];
_getch();
return 0;
}
}