Monday, 25 November 2013

Powershell Basics : Pyramid program

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. 

No comments:

Post a Comment