Benjail

3.6

Aug 29th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2.  
  3. namespace IMJunior
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string vvod;
  10.             Console.WriteLine("Введите строку");                
  11.             vvod = Console.ReadLine();
  12.           string[] array = vvod.Split(' ');
  13.             for (int i=0;i<array.Length;i++)
  14.             {
  15.                 Console.WriteLine(array[i]);
  16.             }          
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment