1

mail@pastecode.io avatar
unknown
c_cpp
11 days ago
187 B
1
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string a, c;
	getline(cin, a);
	for (int i = a.size(); i >= 0; i--)
	{
		c += a[i];
	}
	cout << c;
}
Leave a Comment