reverse number print in php 555554444333221

technical talkiess
0

reverse number print in php 555554444333221 

Number reverse progaram in php 

digit print program in php 


<!DOCTYPE html>

<html>

<body>


<?php

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

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

echo $i;

}

echo "</br>";

}


?> 


</body>

</html>

output :- 
55555
4444
333
22
1
Tags

Post a Comment

0Comments

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

Post a Comment (0)