- #include <iostream>
- #include <algorithm>
- #include <vector>
- #include<string>
- using namespace std;
- int main()
- {
- string Str1 = "^ |ASHIQUR RAHMAN| ^";
- string Str2 = Str1;
- Str2.append(Str1);
- for(int i = Str1.length() - 1; i >= 0; i--)
- {
- string Str3 = Str2.substr(i , Str1.length());
- cout << Str3.c_str() << endl;
- }
- return 0;
- }