## Find the volume of a cylinder using LET statement

[xyz-ihs snippet=”Google-Adsense”]

**-Program:**

#### 10 REM Program to find the volume of a cylinder using LET statement in GW-BASIC.

20 INPUT “Enter height of cylinder: ” ; H

30 INPUT “Enter radius of cylinder: ” ; R

40 LET PI = 22/7

50 VOL = PI*R*R*H

60 PRINT “Volume of cylinder is: ” ; VOL

70 END

[xyz-ihs snippet=”200-x-90″]

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

[xyz-ihs snippet=”200-x-90″]

## -Output:

[xyz-ihs snippet=”200-x-90″]

“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.”