-
-
Save jz5/3499e9208bd63ce18fae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = "古池や,蛙飛びこむ,水の音".Split(','); | |
for (var i = 0; i < s.Max(c => c.Length); i++) | |
{ | |
for (var j = s.Length - 1; j >= 0; j--) | |
{ | |
Console.Write((i < s[j].Length) ? s[j][i] : ' '); | |
} | |
Console.WriteLine(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment