<?phpfunction Add($n1, $n2) { $total = $n1 + $n2; echo cos($total); }Add(10,-10); ?>
cos() gives the cos value of the argument. Here the function returns 1.
Previous Question Next Question
Your comments will be displayed only after manual approval.