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