<?php $count = 1; while ($count < 5) { printf("%d squared = %d <br />", $count, pow($count, 2)); $count++; } ?> The output looks like this: 1 squared = 1 2 ...
確定! 回上一頁