M
Mr. Riverside
Guest
how do i create another function that Fills a 2-D array using the parameters($principle, $years, $interest)
Each cell in the table would be calculated by
$Table[$year][$interest]=$principle*
(1+$interest)^$year
I need to use the power function since ^ is an exclusive or in PHP.
Return the $Table.
Each cell in the table would be calculated by
$Table[$year][$interest]=$principle*
(1+$interest)^$year
I need to use the power function since ^ is an exclusive or in PHP.
Return the $Table.