Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- namespace RepeatStrings
- {
- class Program
- {
- static void Main()
- {
- string[] words = Console.ReadLine().Split(" ");
- for (int i = 0; i < words.Length; i++)
- {
- Console.Write(String.Concat(Enumerable.Repeat(words[i], words[i].Length)));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement