I am creating an array named "fifty" with 50 elements.
Instruction #1:Initialize the array so that the first 25 elements are equal to the square of the index/key variable.
When squaring we are raising a base or number to some power so in PHP
we need some function like this:
<?php
print pow(10,2); // Squared raised to the 2nd power = 100
print pow(10,3); // Cubed raised to the 3rd power = 1000
print pow(10,4); // 10000
print pow(-10, 4); // 10000
?>
Solved....