Hackerss.com is a community of amazing hackers

Hackerss is a community for developers, data scientitst, ethical hackers, hardware enthusiasts or any person that want to learn / share their knowledge of any aspect of digital technology.

Create account Log in

Posted on

Sumar 3 numeros in Php

Sumar 3 numeros - Php:

function sumar($a, $b, $c) {
  $total = 0;
  // sum a plus b
  $total = $a+$b+$c;
  // return the sum 
  return $total;

$result = sumar(88, 22, 33);

echo $result; //110

Enter fullscreen mode Exit fullscreen mode

Top comments (0)