+ 1

sum(5, 6); function sum($num1, $num2) { $sum = $num1 + $num2; return $sum; }

2nd Sep 2016, 5:46 AM
Mark Julius M. Yebra
Mark Julius M. Yebra - avatar
2 Answers
+ 2
function sum($num1, $num2) { $sum = $num1 + $num2; return $sum; } sum(5, 6);
14th Sep 2019, 1:02 PM
Camilo Pereira de Deus
Camilo Pereira de Deus - avatar
0
whts the issue? it's clear.. u called function sum with parameters 5&6. so num1=5 & num2=6; sum=5+6; return 11;
6th Sep 2016, 4:40 AM
Ayaz Muttaqui
Ayaz Muttaqui - avatar