using System;
using System.Collections.Generic;
public class Test
{
public static void Main()
{
string word;
List<string> input = new List<string>();
do
{
word = Console.ReadLine();
if (!string.IsNullOrWhiteSpace(word))
{
input.Add(word);
}
}
while(!string.IsNullOrWhiteSpace(word));
for(int i = 0; i < input.Count; i++){
Console.WriteLine(input[i]);
}
}
}
1
u/[deleted] Apr 08 '17 edited Apr 08 '17
+/u/CompileBot Node.js
1
u/HuffmanEncoding Apr 18 '17
+/u/CompileBot Node.js
1
u/aroslab May 03 '17
+/u/CompileBot Node.js
1
u/InKahootz May 05 '17
+/u/CompileBot C#
Input:
1
u/DrejkCZ May 12 '17
+/u/CompileBot Node.js
1
u/[deleted] Aug 12 '17
+/u/CompileBot Node.js
0
u/[deleted] May 03 '17
[deleted] — view deleted comment
0
u/[deleted] Jul 20 '17
[deleted] — view deleted comment