Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace FifthProject
- {
- class Program
- {
- static void Main(string[] args)
- {
- string str;
- Console.WriteLine("Введите строку: ");
- str = Console.ReadLine();
- string[] strs = str.Split(' ');
- for (int i = 0; i < strs.Length; i++)
- {
- Console.WriteLine(strs[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement