1

mail@pastecode.io avatar
unknown
csharp
3 years ago
337 B
2
Indexable
Never
            int n = 685;
            int remain = 0;
            int final = 0;
            for (int i = 0; i < 10; i++)
            {
                if (n > 0)
                {
                    remain = n % 10;
                    n /= 10;
                    final = final * 10 + remain;
                }
            }