Shell script to find the area of a circle

Linux shell program to find the area of a circle.

echo "Enter the radius : "
read r
echo "Area of the Circle is"
echo "3.14 * $r * $r" | bc

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments