Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static int z;
- static void print(int x)
- {
- if (x != 0) print(x / 10);
- else return;
- z = x % 10;
- Console.Write(z);
- }
- static void Main(string[] args)
- {
- int x;
- x = int.Parse(Console.ReadLine());
- Console.WriteLine();
- print(x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement