Untitled

Anonymous
c_cpp
10/15/2023 10:08 AM
196 B
13
Indexable
#include <iostream>
using namespace std;
int main()
{
	int a;
	int i = 0;
	cin >> a;
	while (a > 0) {
		cout << a % 10;
		a /= 10;
	}
}
Editor is loading...