Code Labs
Showing posts with label
reverse
.
Show all posts
shell script code to reverse number
echo "Enter the Number"
read n1
rev=0
a=0
while [ $n1 -gt "0" ]
do
mod=`expr $n1 % 10`
rev=`expr $rev \* 10 + $mod`
n1=`expr $n1 / 10`
done
echo "$rev"
/* OUTPUT
linux-ogus:~> ./reverse_no
Enter the Number
654
456
*/
Home
Older Posts
Subscribe to:
Posts ( Atom )
Follow Us
Find Us On Facebook
Labels
php
Facebook API
Social
Graph API
Google
instagram
linkedin
Popular Posts
Kill process running on certain port in windows
Program to implement Apriori Algorithm
Implement C program for Scan Line Polygon Filling
A List of SMTP, POP3 and IMAP Servers(Mail Server)
C program to find prime numbers between given range
Blog Archive
▼
2023
( 1 )
▼
August
( 1 )
Character encoding to UTF-8
►
2022
( 3 )
►
July
( 1 )
►
February
( 2 )
►
2019
( 5 )
►
April
( 1 )
►
March
( 4 )
►
2018
( 1 )
►
May
( 1 )
►
2017
( 3 )
►
April
( 2 )
►
March
( 1 )
►
2015
( 6 )
►
November
( 2 )
►
August
( 1 )
►
July
( 1 )
►
March
( 1 )
►
January
( 1 )
►
2014
( 14 )
►
July
( 1 )
►
April
( 3 )
►
March
( 4 )
►
February
( 4 )
►
January
( 2 )
►
2013
( 31 )
►
December
( 1 )
►
November
( 1 )
►
October
( 1 )
►
June
( 3 )
►
May
( 1 )
►
April
( 9 )
►
March
( 7 )
►
February
( 5 )
►
January
( 3 )
►
2011
( 20 )
►
September
( 1 )
►
July
( 5 )
►
June
( 6 )
►
March
( 8 )
►
2010
( 29 )
►
October
( 5 )
►
September
( 24 )
Labels
php
Computer Graphics
Tutorials
JAVA
Social Share
Email
Facebook API
JSP
HTML
Servlet
Social
Twitter
Graph API
MySql
.Net
3D
C#
Data structures
Google Plus
MS SQL Server
Photoshop
Pinterest
VB
oracle
2D
Applet
Databse
Google
Hibernate
Spring
Struts
TomCat
gplus
instagram
wordpress
youtube
Rate It!!
Follow Us