php program to print inverted right half pyramid
php program to print inverted right half pyramid
Example:-
<?php
for($i=0;$i<=5;$i++){
for($j=5-$i;$j>=1;$j--){
echo "* ";
}
echo "<br>";
}
?>
php program to print inverted right half pyramid
Output:-
Post a Comment