Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace ConsoleApplication3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Enter x:");
- int x = int.Parse(Console.ReadLine());
- Console.WriteLine(x.ToString().Reverse().ToArray());//вывод в обратном порядке
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment