Home > Backend Development > PHP Tutorial > php容易例子-打印出99乘法表

php容易例子-打印出99乘法表

WBOY
Release: 2016-06-13 11:03:51
Original
1008 people have browsed it

php简单例子--打印出99乘法表
php简单例子--打印出99乘法表:

<?php//php打印出九九乘法表for ($i=1; $i<10; $i++){	for ($j=1; $j<=$i; $j++){		echo $j*$i;		echo ' ';	}	echo '<br />';}?>
Copy after login

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template