Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- for($x=1;$x<=22;$x++)
- {
- for($z=1;$z<=$x;$z++)
- {
- $tampil = $x;
- echo "*";
- }
- echo "<br>";
- }
- for($f=21;$f>=1;$f--)
- {
- for($e=1;$e<=$f;$e++)
- {
- $tampils = $f;
- echo "*";
- }
- echo "<br>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement