Advertisement
kirililchev3

Reverse Char

May 26th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. using System;
  2.  
  3. namespace P09_ReverseChar
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             char ch1 = char.Parse(Console.ReadLine());
  10.             char ch2 = char.Parse(Console.ReadLine());
  11.             char ch3 = char.Parse(Console.ReadLine());
  12.  
  13.             Console.WriteLine($"{ch3}{ch2}{ch1}");
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement