GoogleAddUnit1.

Work at home

Work at home

If you are looking for a succeed work at home or whether you desire getting money on the internet; yes, eventually, you located it!

Enjoy economic independence

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.

How it works?

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!

Thursday, February 17, 2011

Unix Shell Program on Student Marks to calculate Percentage and Class.

Program:

echo "Enter name of the student"

read name

echo "enter roll number"

read num

echo "Enter the marks of the student"

read m1 m2 m3 m4 m5

echo "Name of the student is $name"

echo "number of the student is $num"

echo "marks obtained"

echo "m1 m2 m3 m4 m5"

echo $m1 $m2 $m3 $m4 $m5

per=`echo \($m1 + $m2 + $m3 + $m4 + $m5\) /5|bc`

echo Percentage is $per

if test $per -ge 60

then

echo "Grade:first"

elif test $per -ge 50 -a $per -le 59

then

echo "grade:second"

elif test $per -ge 40 -a $per -le 49

then

echo "grade:third"

else

echo "fail"

fi

Input/OutPut

Enter name of the student

Vedant

enter roll number

Y20MC15001

Enter the marks of the student

90 80 90 80 90

Name of the student is Vedant

number of the student is Y20MC15001

marks obtained

m1 m2 m3 m4 m5

90 80 90 80 90

Percentage is 86


Grade:first

No comments:

Post a Comment