VelizarAvramov

03. Practice Chars And Strings

Nov 15th, 2018
109
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. using System.Numerics;
  3.  
  4. namespace Demo
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             string input = Console.ReadLine();
  11.             char first = char.Parse(Console.ReadLine());
  12.             char second = char.Parse(Console.ReadLine());
  13.             char third = char.Parse(Console.ReadLine());
  14.             string inputTwo = Console.ReadLine();
  15.  
  16.             Console.WriteLine($"{input}");
  17.             Console.WriteLine($"{first}");
  18.             Console.WriteLine($"{second}");
  19.             Console.WriteLine($"{third}");
  20.             Console.WriteLine($"{inputTwo}");
  21.         }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment