php interview question
* reverse order print
* print progam in php
<!DOCTYPE html>
<html>
<body>
<?php
for($i=5;$i>=1;$i--){
for($j=$i;$j>=1;$j--){
echo "*";
}
echo "</br>";
}
?>
</body>
</html>
output:-
*****
****
***
**
*
****
***
**
*
php interview question
* reverse order print
* print progam in php
<!DOCTYPE html>
<html>
<body>
<?php
for($i=5;$i>=1;$i--){
for($j=$i;$j>=1;$j--){
echo "*";
}
echo "</br>";
}
?>
</body>
</html>
0Comments
Thanks you for commenting your questions. I will see question and respond you.