Code In Tech - The Ultimate World of Computer Technology

Thursday 7 June 2012

Shell script to fine area and perimeter

SOURCE CODE:
 
echo "Enter the length of the rectangle"
echo "Enter the length of the rectangle"
read l
echo "Enter the breadth of the rectangle"
read b
echo "Enter the side of the square"
read a
areaR=`expr $l \* $b`
periR=`expr $l \* 2 + $b \* 2`
areaS=`expr $a \* $a`
periS=`expr 4 \* $a`
echo "Area of the rectangle = $areaR"
echo "Perimeter of the rectangle = $periR"
echo "Area of the square = $areaS"
echo "Perimeter of the square =$periS"

OUTPUT:
Enter the length of the rectangle
5
Enter the breadth of the rectangle
6
Enter the side of the square
8
Area of the rectangle = 30
Perimeter of the rectangle = 22
Area of the square = 64
Perimeter of the square =32

44 comments :

  1. There are lots of information about latest technology and how to get trained in them, like UNIX Certification Courses in Chennai have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies(UNIX Course Chennai). By the way you are running a great blog. Thanks for sharing this.

    UNIX Certification Courses in Chennai | UNIX Course Chennai

    ReplyDelete
    Replies
    1. Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download Now

      >>>>> Download Full

      Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download LINK

      >>>>> Download Now

      Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download Full

      >>>>> Download LINK TA

      Delete
  2. • Thanks for sharing such an interesting post.
    oracle training in chennai

    ReplyDelete
  3. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

    selenium training in chennai
    aws training in chennai

    ReplyDelete
  4. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
    python online training
    python training in OMR
    python training institute in chennai

    ReplyDelete
  5. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.

    Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

    Selenium Training in Bangalore | Best Selenium Training in Bangalore

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    ReplyDelete
  6. I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.
    Data Science Training in Indira nagar
    Data Science training in marathahalli
    Data Science Interview questions and answers

    ReplyDelete
  7. Have you been thinking about the power sources and the tiles whom use blocks I wanted to thank you for this great read!! I definitely enjoyed every little bit of it and I have you bookmarked to check out the new stuff you post
    online Python training | python training in chennai

    ReplyDelete
  8. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    devops online training

    aws online training

    data science with python online training

    data science online training

    rpa online training

    ReplyDelete
  9. Thanks for the good words! Really appreciated. Great post. I’ve been commenting a lot on a few blogs recently, but I hadn’t thought about my approach until you brought it up. 
    Microsoft Azure online training
    Selenium online training
    Java online training
    uipath online training
    Python online training


    ReplyDelete
  10. Great post! This is very useful for me and gain more information, Thanks for sharing with us.

    Technology
    bloggydirectory

    ReplyDelete
  11. We offers printed OCR Printing and Conversion services at inexpensive price. Contact us to know about our OCR for Printed Material Service.
    Printed Book OCR Services

    ReplyDelete
  12. Calgary government has certain requirements for Calgary roofing companies. However, it is the homeowner’s responsibility to make sure those requirements are met and fulfilled.
    roofing services calgary

    ReplyDelete
  13. "There’s one simple test for determining whether a company is really an SEO expert: fire up a search engine and put their rankings to the test. If they claim to offer professional SEO services and can’t manage to rank their own company for some of the top keywords, are you really confident they can help you? best seo expert in india

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your site.
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm

    ReplyDelete
  16. https://zulqarnainbharwana.com/laurence-fox/

    ReplyDelete
  17. PYTHON TRAINING IN CHENNAI | INFYCLE TECHNOLOGIES:

    Infycle Technologies Chennai’s BEST PYTHON training facility accepts specific module training for any software to improve your skills and shine in your career development. Infycle is the only software training center in Chennai, equipped with more than 150 customized courses to meet the job requirements of candidates, including top positions in multinational companies. Our whole goal is not just to teach theory, but to make you a teacher by providing you with on-site practical training. Therefore, people will be required to process real-time tasks and use cases in real-time, thus bringing you the ultimate encoder. To get all of this, please call 7502633633 for a free demo.
    Best traing center in Center

    ReplyDelete
  18. Description:
    Data science can be defined as a blend of Mathematics. The entire Data Life Cycle is covered in our Data Science course in Chennai, which includes Data Architecture, Statistics, Advanced Data Analytics, and Machine Learning. To enrol in this course, you must have a basic understanding of statistics and mathematics. We Infycle offer the best Data Science course in Chennai with 200% practical classes, pre-mock interview sessions, and more career counseling classes. For a free demo session, call us at 7502633633.
    Best software training in chennai

    ReplyDelete
  19. The Universal Currency Converter Is The Most Reliable And Accurate USD TO INR FORECAST Currency Conversion Tool On The Internet. It Is Fast And Easy To Use, And Supports Over 150 World Currencies.

    ReplyDelete
  20. Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download Now

    >>>>> Download Full

    Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download LINK

    >>>>> Download Now

    Code In Tech : Shell Script To Fine Area And Perimeter >>>>> Download Full

    >>>>> Download LINK xV

    ReplyDelete
  21. Thank you for sharing this valuable information with us.
    Jewellery Billing Software
    Jewelley Billing Software

    ReplyDelete