Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ReverseCharacters
- {
- class MainClass
- {
- public static void Main(string[] args)
- {
- char[] array = new char[3];
- for (int i = 0; i < 3; i++)
- {
- array[i] = char.Parse(Console.ReadLine());
- }
- Array.Reverse(array);
- Console.WriteLine(array);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment