21,887
社区成员
发帖
与我相关
我的任务
分享
$jumpHeight = 100;
$nextBegin = 100;
for($i=1; $i <= 10; $i++) {
$nextBegin = $nextBegin / 2;
$jumpHeight += $nextBegin;
}
echo $jumpHeight;
echo '<hr/>';
echo $nextBegin;