Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SoloLearn
- {
- class Program
- {
- static void Main(string[] args)
- {
- string[] text=Console.ReadLine().Split().ToArray();
- char[][] jaggedArr = new char[text.Length][];
- for(int i=0; i<text.Length; i++)
- {
- jaggedArr[i]=text[i].ToCharArray();
- }
- for(int i=0; i<jaggedArr.GetLength(0); i++)
- {
- Console.WriteLine(string.Join(" ", jaggedArr[i]));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement