Program:
export num
num=12
echo $num
Input/OutPut
12
10_89, HOD MCA Department, The PAS College, Pedanandipadu-PO, Guntur-Dt, Andhrapradesh-522235, India.
If you are looking for a succeed work at home or whether you desire getting money on the internet; yes, eventually, you located it!
No pc knowledges needed. You may be completely new to manage our system - you don't need ANY experience. This is really easy.
You can stay at home and work at your free time. Even whether you don't have pc you may do this task in Online cafe or on Internet cell phone.
We make a web-shop for you with ready to operate e-commerce solution. Your work is pretty simple; you have to submit data about your web-shop to the Web engines. We will provide you with very easy step-by-step instruction how to do this. The typical instruction requests you to open a web webpage and fill in a form with material regarding your online-shop and products.
You will be paid from US $20.00 to US 180.00 for each sale which is comes using your internet-shop.
There is no limitation for your income. No matter where you live your commissions are 100% assured.
Register Now...Apply now to have economic independence. All you need is the simple: apply now and havepersonal online company!
Program:
echo enter n value as range to calculate odd and even numbers.
read n
i=1
while [ $i -le $n ]
do
if [ `expr $i % 2` -eq 0 ]
then
echo even=$i
else
echo odd=$i
fi
i=`expr $i + 1`
done
echo enter n value as range to calculate odd and even numbers.
10
odd=1
even=2
odd=3
even=4
odd=5
even=6
odd=7
even=8
odd=9
even=10
Program:
enter the year
read y
a=`expr $y % 4`
b=`expr $y % 100`
c=`expr $y % 400`
if [ $a -eq 0 -a $b -ne 0 -o $c -eq 0 ]
then
echo $y is leap year
else
echo $y is not leap year
fi
2010
2010 is not leap year