Sunday 8 March 2015

To Find Out The Perimeter Of Rectangle

Practical: 11: Write a program that can calculate the perimeter of the rectangular.

Program:
10    CLS
20     INPUT “Length …=”;L
30     INPUT  “Width …=”; W
40     PERIMETER=  2* ( L+W)
50     PRINT “ PERIMETER….. =”; PERIMETER
60     END
Algorithm

Step 1  START
Step 2  INPUT      L , W
Step 3  COMPUTE   PERIMETER = 2* ( L+W)
Step 4    PRINT   PERIMETER
Step 5  END

1 comment:

  1. Lucky Club Casino Site - luckyclub.live
    Lucky Club Casino, the UK's favourite online casino, has won big, for the first time ever, thanks to the great bonuses and casino luckyclub.live offers available on the

    ReplyDelete