Perl | Computer Science homework help

  
PERL
. Create an array with the numbers from 1 to 100. Write a subroutine that modifies this array by squaring each entry in the array. Write your subroutine so that you use pass by reference in order to modify the original array in the main body. Print out the first 10 entries and the last 10 entries of the array before and after the action of the subroutine within the main body. 

Still stressed from student homework?
Get quality assistance from academic writers!
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 9294730077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code HURRAY