Advertisement
callmejeki

Untitled

May 29th, 2024
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. echo "<pre>";
  2. for ($i = 1; $i <= 8; $i++) {
  3. for ($j = 1; $j <= 10 - $i; $j++) {
  4. echo " ";
  5. }
  6. for ($k = 1; $k <= (2 * $i - 1); $k++) {
  7. echo "*";
  8. }
  9. echo "<br>";
  10. }
  11. echo "</pre>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement