Thursday, 3 October 2019

QBasic programming to find the volume of cylinder

Write a program to find the volume of cylinder.

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

No comments:

Post a Comment

Internet of Things (IoT)

  IoT is the technology or platform that connects any device into network and helps human beings to make their work amazingly faster and eas...