Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.IO;
- using System.Linq;
- using System.Collections.Generic;
- namespace CSharp_Shell
- {
- public static class Program
- {
- public static void Main()
- {
- int[] input = Console.ReadLine()
- .Split('.')
- .Select(int.Parse)
- .ToArray();
- int length = input.Length;
- for(int i=0;i<length;i++){
- Console.WriteLine(input[i]);}
- string[] text = {Console.ReadLine().ToString()};
- //.Split('.')
- //.Select(int.Parse)
- //.ToArray();
- for(int i=0;i<length;i++){
- Console.Write(text[i]);}
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement