Horje
odd even in shell script Code Example
odd even in shell script
# HOW TO FIND A NUMBER IS EVEN OR ODD IN SHELL SCRIPT
clear 
echo "---- EVEN OR ODD IN SHELL SCRIPT -----"
echo -n "Enter a number:"
read n
echo -n "RESULT: "
if [ `expr $n % 2` == 0 ]
then
	echo "$n is even"
else
	echo "$n is Odd"
fi




Shell

Related
how to change the icon of a python exe file Code Example how to change the icon of a python exe file Code Example
fatal: 'upstream' does not appear to be a git repository Code Example fatal: 'upstream' does not appear to be a git repository Code Example
remove remote git Code Example remove remote git Code Example
how to install expo cli on windows Code Example how to install expo cli on windows Code Example
uppercase first str bash Code Example uppercase first str bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
17