Home  >  Article  >  php教程  >  九九乘法口诀表之php版

九九乘法口诀表之php版

PHP中文网
PHP中文网Original
2016-05-25 17:06:561092browse

代码

<?php
for ($i=1;$i<10;$i++)
{
for ($j=1;$j<($i+1);$j++)
{
echo ($i*$j)."=".$i."*"."*".$j."    ";
}
echo "<br>";
}
?>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn