Computer Science, asked by urnimesh5023, 7 months ago

Write a qbasic program to input radius and height of a cylinder and print its volume.
Its my hw pls help.

Answers

Answered by killerrrgamerz
6

Answer:

To find volume cylinder (Qbasic code)

CLS

LET pi = 3.14

INPUT "Enter the value of radius"; r

INPUT "Enter the height"; h

v = pi * r ^ 2 * h

PRINT "The volume of the cylinder is"; v

END

Similar questions