Program to find area of rectangle using LET statement

Find area of rectangle using LET statement

-Program:

10     REM Program to find area of rectangle using LET statement at GW-BASIC
20     CLS
30     INPUT “Enter length of rectangle:” ; L
40     INPUT “Enter width of rectangle:” ; W
50     LET A = L*W
60     PRINT “The area of rectangle is:” ; A
70     END

Using the GW-BASIC emulator, I’ve created the following program:

Program at GW-BASIC to find Area of Rectangle

Program at GW-BASIC to find Area of Rectangle

-Output:

Output

Output


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

Related Posts

M.Bakhtiar Zuberi
Hello, I'm M.Bakhtiar Zuberi, the only article poster & owner of this website. Your comments/suggestions are welcomed the most! RajasTutorials.com is a part of 3DPixelz.com network.

2 Comments

  1. Adesoye Adedayo Rafiat Bello says:

    I want to be a programmer how can I do it online

  2. Adesoye Adedayo Rafiat Bello says:

    An interesting program

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: