Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _04.Numbers_in_Reversed_Order
- {
- class Program
- {
- static void Main()
- {
- string textValue = Console.ReadLine();
- char[] valueChars = textValue.ToCharArray();
- Array.Reverse(valueChars);
- string reversedValue = new string(valueChars);
- double reversedInt = double.Parse(reversedValue);
- Console.WriteLine(valueChars);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment