interview php question

technical talkiess
0

 <!DOCTYPE html>

<html>

<body>


<?php

for($i=5;$i>=1;$i--){

for($j=$i;$j>=1;$j--){

echo $j;

}

echo "</br>";

}


?> 


</body>

</html>

output:- 
54321
4321
321
21
1
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)