Downward half-Pyramid Pattern of Star

55

<?php
for($i=0;$i<=5;$i++){
for($j=5-$i;$j>=1;$j--){
echo "* ";
}
echo "<br>";
}
?>

Comments

Submit
0 Comments