I remember those old days, when I was learning programming. Making pyramid, paliendrome, fibonacci series, factorial and so many. Basically, these all were little difficult in those days and now they look like building block for making a programmer. Aaah! what a philosophy.
Recalling those days, I am writing the same pyramid program in powershell.
I have written one-liner:
for ($x =0; $x -lt 21; $x++) { "*" * $x }
Yes, this is sufficient!
If you are learning programming with Powershell, you make seek my help. I can give you roadmap.
I never thought of using Powershell to do stuff like this! Ascii art!
ReplyDelete- Adam
http://www.adamtheautomator.com