For this Question: You are given a string your task is to reverse the given string.The first line of the input contains a string.

Constraints:-
1 <= string length <= 100
String contains only lowercase english lettersThe output should contain reverse of the input string.Sample Input
abc

Sample Output
cba, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;



int main()
{
string s;
cin>>s;
reverse(s.begin(),s.end());
cout<<s;

}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?