E
ed
I'm trying to understand perl and I'm pretty much confused. I'm trying
to write a script that takes an array of numbers (arbitrary in size).
The function will calculate the average of the numbers, the total of
all the numbers added together, and a new array of numbers which is the
other numbers divided by 2. It will then return a new list with all of
the information, and a new array of number, the total. The script
file, should get a list of numbers from the user (either via STDIN or a
list of arguments.)
to write a script that takes an array of numbers (arbitrary in size).
The function will calculate the average of the numbers, the total of
all the numbers added together, and a new array of numbers which is the
other numbers divided by 2. It will then return a new list with all of
the information, and a new array of number, the total. The script
file, should get a list of numbers from the user (either via STDIN or a
list of arguments.)