Answers for "star pattern using PHP"

PHP
0

star pattern using PHP

* * * * * *
* * * * *
* * * *
* * *
* *
*
<?php

for($i=0;$i<=5;$i++)
{
for($j=5-$i;$j>=0  ;$j--)
{
echo "* ";
}
echo "<br>";
}

?>
Posted by: Guest on September-28-2021

Code answers related to "star pattern using PHP"

Browse Popular Code Answers by Language