- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
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 :-


Comments
Post a Comment