Write PHP script to display the following star output: ****** **** *** ** * on December 23, 2021 Get link Facebook X Pinterest Email Other Apps ****** **** *** ** * Following Php Code Can be written for the above pattern(star.php) <?phpecho "Star pattern is as follows","<br>";for($i=1;$i<=5;$i++) { for($j=5;$j>=$i;$j--) { echo "*"; } echo "<br>"; }?>Output Comments
Comments
Post a Comment