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

When healthcare professionals use empathy, what are they helping with? Check all that apply.
( x + 30 ) ( x + 40 ) solve for x
make 'n' the subject of the formula​
Amelia played 8 games of cards with her grandpa. Her cousin played 4 times as many games as Amelia played. How many games did her cousin play?
What is the surface area of the following figure?
What is 0.333... in fraction form? WILL GIVE BRANLIEST IF ANSWRED CORRECTLY
What is the molarity of a solution containing 400 g cuso4 in 4. 00 l of solution?.
At Hakalau Forest in ________, ranchland is being restored to forest, invasive plants are being removed, and native ones are being planted, and native birds are
Please help !! Fitzgerald has said that "Winter Dreams" was the beginning of his idea for his most famous novel, The Great Gatsby (1925): ambitious guy from the
thank you for your help>>>>>>>>>>+++++++