# Program to find area and perimeter of a square – GW-BASIC Tutorials

## Program to find area and perimeter of a square

**-Program:**

10 REM Program to find area and perimeter of a square in GW-BASIC (BASIC)

20 INPUT “Enter length of side: ” ; L

30 AREA = L*L

40 PERI = 4*L

50 PRINT “Area of square: ” ; AREA

60 PRINT “Perimeter of square: ” ; PERI

70 END

**-Algorithm:**

STEP 1 START

STEP 2 INPUT L

STEP 3 COMPUTE AREA = L*L

STEP 4 COMPUTE PERI = 4*L

STEP 5 PRINT AREA

STEP 6 PRINT PERI

STEP 7 END

**-Program & Output at GW-BASIC Emulator:**

Program & output

“My posts/articles are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Tags: 1. write a program to find the area and perimeter of (i) square (ii) rectangle,

c program to find area and perimeter of square and rectangle,

c program to find the area and perimeter of a square,

how to write a program in GW-BASIC to find area and perimeter of a square,

How to write a program to find area and perimeter of a square,

java program to calculate area and perimeter of a square,

java program to find area and perimeter of a square,

program to calculate area and perimeter of square,

Program to find area and perimeter of a square,

program to find area and perimeter of square in c,

write a c program to calculate area and perimeter of square,

Write a program in BASIC to find area and perimeter of a square,

write a program to calculate area and perimeter of a square,

write a program to find area and perimeter of a square,

write a program to find area and perimeter of a square prepare a program to find the area and perimeter of (i) square (ii) rectangle,

Write a program to find area of square,

write a program to find the area and perimeter of square in java
**M.Bakhtiar Zuberi**

I'm M.Bakhtiar Zuberi, the owner of 3DPixelz.com and its network websites. I've been web-developing & graphics-designing for the past 7 years, since the age of 11. I like to work with PHP/HTML and Photoshop/Illustrator. Part-time developer of ZCL (crypto-currency) and ETC. I love to blog here and write for Tribune in my free time.