Tuesday, April 7, 2020

Write a program in php to print the multiplication table of 9

Write a program in php to print the multiplication table of 9:

Answer:

<? php
define('a', 9);   
for($i=1; $i<=10; $i++)   
{   
  echo $i*a;   
  echo '<br>';     
}  
?>

No comments:

Post a Comment

List of bank names in India

 Here is a comprehensive list of banks in India, categorized by type: