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