+ 1
sum(5, 6); function sum($num1, $num2) { $sum = $num1 + $num2; return $sum; }
2 Respostas
+ 2
function sum($num1, $num2) {
$sum = $num1 + $num2;
return $sum; }
sum(5, 6);
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;