in reply to using pop and shift to find the sum of an array
How can you find the sum of an array using just shift and pop?
Please, check your last post. Help with arrays
Moreover, your code die with several errors. Please, use warnings and strict
Comments in Perl is started with #
Also check the following Up:
push, pop, shift, unshift
|
|---|