TotalCodes
Menu
Android
Data Structure
Oracle(PL/SQL)
Shell Scripts
Monday, 27 May 2013
Shell Script to find leap year
echo "Enter year"
read y
if test `expr $y % 4` -eq 0
then
echo "Year is Leap"
else
echo "Year is not Leap"
fi
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment