Answer to Question #20515 in AJAX | JavaScript | HTML | PHP for sofiaferrante

Question #20515
8 multiplied by 15 equals to 120.
10 multiplied by 18 equals to 180.
12 multiplied by 21 equals to 252.

please help me write this in FOR LOOP PHP
1
Expert's answer
2012-12-11T11:26:42-0500
$s =0;
$k =15
for($i=8;$i<=12;$i+=2)
{
$s =$i * $k;
$k+=3;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS