<?php $a = 0; $b = 0; for($i = 1; $i <= 10; $i++) { $a += pow($i, 2); $b += $i; } echo "A: {$a}\nB: {$b}";
You have javascript disabled. You will not be able to edit any code.