Home > Backend Development > PHP Tutorial > The effect of outputting the multiplication table

The effect of outputting the multiplication table

WBOY
Release: 2016-07-25 09:07:57
Original
994 people have browsed it
multiplication table
  1. for($i=1;$i<=9;$i++)
  2. {
  3. for($j=1;$j<=$i;$j++)
  4. {
  5. echo " $i*$j=".$i*$j."n";
  6. }
  7. echo "
    ";
  8. }
  9. ?>
Copy code


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