Want this question answered?
2,3,5,7,9,11,13,17,19,23,29,31,37,39,41,43,47,49
There are several shell programs available for download on the Internet that will generate prime numbers. The best way to find a prime number is through calculation, however.
4/3 * pi * (125 - 27)Improved answer with the same result:If the outer circumference is 10 times pi cm then its outer radius is 5 cm and its inner radius is 3 cm.outer volume - inner volume = volume of the sphere's shell(4/3*pi*53) - (4/3*pi*33) = 410.5014401 or 410.5 cubic cm to 1 decimal place
shell
SUM = 0: FOR N = 1 to 100: SUM = SUM + N: Next N: PRINT CHR$(11); "Sum ="; SUM: END
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
echo -n "Enter the radius of a circle : "read r# use formula to get itarea=$(echo "scale=2;3.14 * ($r * $r)" | bc)# use formula to get itd=$(echo "scale=2;2 * $r"|bc)circumference=$(echo "scale=2;3.14 * $d"| bc)echo "Area of circle is $area"echo "Circumference of circle is $circumference"# ### softspy88@gmail.com
In an interactive shell session the shell program waits for the user to type in a command. When receiving a command the shell program will then attempt to locate it and process (execute) the command. You are interacting with the shell. Running a shell file requires a pre-stored series of commands stored in a file. Unless the shell program you are running is interactive then the shell executes each command in sequence, without involving the user at all.
The 'shell' is a user interface program that interfaces between a user of the system and the Operating System. It is the user interface.
If you are asking about a shell script, just create a text file with the commands you want to execute inside it. Then, make the file executable and readable and you have a shell script file. A shell program is more complicated; you need to support the user features that most users would expect a shell program or shell interpreter to do. I would suggest studying the source code of a current shell program to see how to go about implementing one of your own.
By typing its name into the shell
pwd
Certainly (yes). A shell is just a user interface program and any user can create their own if they are so inclined. If other users wish to use this new shell program (particularly as a login shell) it can be added to the /etc/shells list.
The mini shell program is used in Unix as a programming software. It is a redirected and streamlined approach at creating variables, commands, and tokens.
A shell program is a program that runs from the computer's command line. Although they were more common in older programs, some people still use them, as the are generally faster and and more minimalist than their graphical counterparts.
echo "Enter the Number" read n r=`expr $n % 2` if [ $r -eq 0 ] then echo "$n is Even number" else echo "$n is Odd number" fi
The shell breaks apart and the egg will expand and grow bigger!