Saturday, June 1, 2024

php program to print number increasing reverse pyramid

 
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

Output :-
php program to print number increasing reverse pyramid



Related Post ::-

php program to print heart star pattern

php program to print increasing triangle

php program to print alphabet pattern K

No comments:

Post a Comment

Project Based Full Stack Responsive E-Commerce Website Project

  Project Based Full Stack Responsive E-Commerce Website Project for Students Complete E-Commerce Website Project Using PHP, MySQL, Bootstra...