Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Task26
- {
- class Program
- {
- static void Main(string[] args)
- {
- int minValue = 0;
- string userInput;
- Console.WriteLine("Введите предложение: ");
- userInput = Console.ReadLine();
- string[] words = userInput.Split(" ");
- for (int i = minValue; i < words.Length; i++)
- {
- Console.WriteLine(words[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement