Hackerss.com

hackerss
hackerss

Posted on

Multiplicar 3 numeros in Php

Multiplicar 3 numeros - Php:


function multiplyNumbers($number_one, $number_two, $number_three) {
  $total = 0;
  // sum a plus b
  $total = $a*$b*$c;
  // return the sum 
  return $total;
}

//example
$result = multiplyNumbers(1, 2, 3);

//output
echo $result; //3


Enter fullscreen mode Exit fullscreen mode

Top comments (0)