Wednesday, November 6, 2019

Qbasic

Qbasic to find volume of cylinder

CLS
INPUT "Enter the radisu"; r

INPUT "Enter the height"; h
V =  22/7*r^2*h
PRINT "Volume of cylinder="; V
END

No comments:

Post a Comment