Question: 9 9 Bottles of Beer ( IN POWERSHELL ) Write a song that will generate the verses to the song 9 9 Bottles of

99 Bottles of Beer
(IN POWERSHELL)
Write a song that will generate the verses to the song "99 Bottles of Beer"
If given a -n or - num argument, generate the verses from that number down to 0
C: >./bottles.ps1-n 2
2 bottles of beer on the wall,
2 bottles of beer,
Take one down, pass it around,
1 bottle of beer on the wall!
1 bottle of beer on the wall,
1 bottle of beer,
Take one down, pass it around,
No more bottles of beer on the wall!
(IN POWERSHELL)
9 9 Bottles of Beer ( IN POWERSHELL ) Write a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!