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 :-
Web Designing Theory is a web development learning blog where you can learn HTML, CSS, JavaScript, and modern web design tutorials step by step. Improve your coding skills with easy examples, projects, and beginner-friendly guides for frontend development.
Project Based Full Stack Responsive E-Commerce Website Project for Students Complete E-Commerce Website Project Using PHP, MySQL, Bootstra...
No comments:
Post a Comment