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