php program to print number increasing reverse pyramid
Q. php program to print number increasing reverse pyramid
Example:-
<?php for($i=0;$i<=5;$i++){ for($j=5-$i;$j>=1; $j--) { echo $j; } echo "<br>";
}?>php program to print number increasing reverse pyramid
<?php
for($i=0;$i<=5;$i++)
{
for($j=5-$i;$j>=1; $j--)
{
echo $j;
}
echo "<br>";
}
?>
Output :-
Post a Comment