Manjeet Kashyap Blog
Manjeet kashyap blog
Friday, 28 July 2017
Write a program to print Reverse in php
<?php
$rev=0;
$num=4;
while($num>=1)
{
$re=$num%10;
$rev=$rev*10+$re;
$num=$num/10;
}
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment