PHP Program to calculate compound Interest Email ThisBlogThis!Share to TwitterShare to Facebook Reactions: Labs 1 Comment
$principle=$_POST['pa'];
ReplyDelete$rateOfInterest=$_POST['roi'];
$n=$_POST['n'];
$time=$_POST['t'];
$compoundInterest=$principle*(1+$rateOfInterest/$n);
echo "Compound Interest= ".$compoundInterest;