ad

Friday, May 31, 2024

php program to print inverted right half pyramid

 

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:-

php program to print inverted right half pyramid


  1. Related Post:-
  2. css column gap property

  3. html iframe

  4. php program palindrome number

No comments:

Post a Comment