php九九乘法表

for循环控制语句,多维阵列,编写的一个九九乘法表

< ?php
for ($i=1;$i<=9;$i++){
	for ($j=1;$j<=9;$j++){
		$sum = $i*$j;
		echo $i."*".$j."=".$sum." ";
	}
	echo "
"; } ?>

相关文章:

1、PHP描述冒泡排序和快速排序算法
https://www.onexin.net/languages/php-description-of-bubble-sort-and-quicksort-algorithm/

2、CentOS 7.x 系统yum环境搭建PHP 7.x + Apache 2.4 + MariaDB 10.x
https://www.onexin.net/solution/centos-7-x-php-7-x-apache-2-4-mariadb-10-x/

3、SWOOLE HOOK CURL 同步IO变异步IO
https://www.onexin.net/latest/swoole-hook-curl/

4、CentOS 8.2 服务器上yum安装Apache+Php+MariaDB+MongoDB
https://www.onexin.net/latest/centos-8-2-yum-apache-php-mariadb-mongodb/

5、Java随机一注双色球代码
https://www.onexin.net/languages/the-java-random-a-note-color-ball-code/

转载请注明出处:https://www.onexin.net/languages/php-multiplication-table/

Leave a Reply

Your email address will not be published. Required fields are marked *