0
PHP challenge: Write a function that will print out a multiplication table by using $array1 and $array2.
$array1 = {1,2,3,4,7,6} and $array2 = {2,3,1,0,5}, printTable function will print out a table as below: 1 2 3 4 7 6 -------------------------------------- 2 | 2 4 6 8 14 12 3 | 3 6 9 12 21 18 1 | 1 2 3 4 7 6 0 | 0 0 0 0 0 0 5 | 5 10 15 20 35 30
3 Answers
+ 5
Challenge accepted!
Here's my answer to the challenge:
https://code.sololearn.com/wRHRojFK2MpU/?ref=app
+ 5
@Amir Danish, Thank you :)
+ 1
Well done
Thanks;)