VelizarAvramov

03. Practice Chars And Strings

Nov 28th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _03._Practice_Chars_And_Strings
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string first = Console.ReadLine();
  10.             char second = char.Parse(Console.ReadLine());
  11.             char third = char.Parse(Console.ReadLine());
  12.             char fourth = char.Parse(Console.ReadLine());
  13.             string fifth = Console.ReadLine();
  14.  
  15.             Console.WriteLine($"{first}");
  16.             Console.WriteLine($"{second}");
  17.             Console.WriteLine($"{third}");
  18.             Console.WriteLine($"{fourth}");
  19.             Console.WriteLine($"{fifth}");
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment