Programming Blog

This blog is about technical and programming questions and there solutions. I also cover programs that were asked in various interviews, it will help you to crack the coding round of various interviews

Wednesday 4 January 2017

php program to print table from 2 to 10

<?php
echo " <i><marquee><h1><u>Table From 2 to 10</h1></marquee></i>";
echo "<br/>";
for($i=2;$i<=10;$i++)
{
print ("<u>Table of $i :</u>");
 echo "<br/>";
 echo "<br/>";
for($j=1;$j<=10;$j++)
{
      print("$i * $j = ". $i * $j);
      echo "<br/>";
  }  
echo "<br/>";
}
?>

No comments:

Post a Comment