Advertisement
NadyaMisheva

Untitled

Feb 16th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. public class Program
  4. {
  5. public static void Main()
  6. {
  7. int[] numbers = Console.ReadLine().Split(' ').Select(n => int.Parse(n)).ToArray();
  8. for(int i = 0; i < numbers.Length; i++)
  9. {
  10. Console.WriteLine(numbers[i]);
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement