dipshadevkota9
dipshadevkota9 dipshadevkota9
  • 04-02-2021
  • Computers and Technology
contestada

how to find the volume of cube in computer in QBASIC program ​

Respuesta :

abhigyathapa12321 abhigyathapa12321
  • 04-02-2021

Answer:

QBasic Programming

REM PROGRAM TO DISPLAY VOLUME OF CUBE. CLS. INPUT “ENTER LENGTH”; L. ...

USING SUB PROCEDURE.

DECLARE SUB VOLUME(L) CLS. INPUT “ENTER LENGTH”; L. ...

SUB VOLUME (L) V = L ^ 3. PRINT “VOLUME OF CUBE ”; V. ...

USING FUNCTION PROCEDURE.

DECLARE FUNCTION VOLUME (L) CLS. ...

FUNCTION VOLUME (L) VOLUME = L ^ 3.

Answer Link

Otras preguntas

An electric iron is used to remove wrinkles from clothing. The electric iron is made of metal. Which property of this substance is most useful for this applicat
g(x)= 3x − 3; Find g(−6)
How many gallons of water in lake lewisville?
What would be a logical thing to do in the "habitación" of your house? nadar dormir jugar al tenis lavar la ropa?
Experienced computer users who need information on advanced topics are likely to need a ____.
Rate 60mph Time 3/4 hrs
What is the tool to determine the relative size of things
Why might it be very difficult to visualize the separation of cis- and trans-2-butene by tlc?
If one of the satellites is at a distance of 20,000 km from you, what percent accuracy in the distance is required if we desire a 2-meter uncertainty
In 1860 how far west could a person travel by rail from New York?