Ad

php program to print inverted left half pyramid pattern

php program to print inverted left half pyramid

php program to print inverted left half pyramid


php program to print inverted left half pyramid

Example :-

<?php
for($i=1;$i<=6;$i++)
{
    for($j=1; $j<=$i;$j++)
    {
        echo "&nbsp;&nbsp;";
        }
        for($l=5;$l>=$i;$l--)
        {
            echo '*';
        }
        echo '<br>';
}
?>

php program to print inverted left half pyramid

Output:-

php program to print inverted left half pyramid


Related post :-

javascript bitwise operators

forgot password form

how to create home page design

No comments

Powered by Blogger.