Advertisement
Dianov

Data Types and Variables - Lab (06. Reversed Chars)

Jul 10th, 2021
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ReversedChars
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             char char1 = char.Parse(Console.ReadLine());
  10.             char char2 = char.Parse(Console.ReadLine());
  11.             char char3 = char.Parse(Console.ReadLine());
  12.  
  13.             Console.Write($"{char3} {char2} {char1}");
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement