Untitled
Anonymous
plain_text
10/15/2023 9:54 AM
244 B
19
Indexable
#include <iostream>
using namespace std;
int main()
{
int A;
int tempA;
cin >> A;
tempA = A;
while (tempA > 0) {
cout << tempA % 10;
tempA /= 10;
}
}
Editor is loading...