Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace P02.ReverseNumber
- {
- class Program
- {
- static void Main(string[] args)
- {
- char[] number = Console.ReadLine().ToCharArray();
- Console.WriteLine(string.Join(string.Empty, number.Reverse()));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment