Q. what is the output of below program?
Code:
<?php
function simple_interest ( $principal , $rate , $time){
$result = $principal * $rate * $time / 100;
echo $result;
return $result;
}
simple_interest(2 , 2, 2)
β
Correct Answer: (C)
0.08