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

Which sentence is written correctly? A. Greg said they would give the drummer “one last chance;” I think they should look for a new drummer. B. Greg said
What is the percent error
Which plants might be found. in a mesozoic forest??
the articles of confederation made it difficult for Congress to protect the nation against foreign threats by
Which type of decision maker tends to choose the first available option in haste?
Which god in Greek mythology held the on his shoulders apollo or atlas
How will four electrons be distributed in three empty 2p atomic orbitals? A-one electron in each orbital B-two electrons in one orbital, one in another, one in
solve the equation = a/4+a/3=21
which of the following is the greatest speed: 20 m/s, 200 cm/s, or 0.2 km/ s
Modern written numbers were first developed by the mathematicians of a. India b. Arabia c. China d. France