1#include <iostream>
2//The library below must be included for the reverse function to work
3#include<bits/stdc++.h>
4using namespace std;
5
6int main() {
7
8 string greeting = "Hello";
9 //Note that it takes the iterators to the start and end of the string as arguments
10 reverse(greeting.begin(),greeting.end());
11 cout<<greeting<<endl;
12}