0
answer
unction func($arg) { $result = 0; for($i=0; $i<$arg; $i++) { $result = $result + $i; } return $result; } echo func(5);
2 Respostas
+ 2
10
+ 1
this question is a duplicate please kindly remove one
unction func($arg) { $result = 0; for($i=0; $i<$arg; $i++) { $result = $result + $i; } return $result; } echo func(5);