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

6th Dec 2017, 4:34 PM
Amir Danish
Amir Danish - avatar
3 Antworten
+ 5
Challenge accepted! Here's my answer to the challenge: https://code.sololearn.com/wRHRojFK2MpU/?ref=app
6th Dec 2017, 6:26 PM
Ipang
+ 5
@Amir Danish, Thank you :)
7th Dec 2017, 4:39 AM
Ipang
+ 1
Well done Thanks;)
7th Dec 2017, 5:38 AM
Amir Danish
Amir Danish - avatar