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.
front end developer Responsive Website Project Available for Students 🎓 Are you a BCA, MCA, B.Sc IT, B.Tech, BE, Engineering, Diploma, ...
No comments:
Post a Comment