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

What color represents areas in which temperatures from 2000–2009 were the same as temperatures from 1951–1980??
Which principle part of the verb "to know" appears in sentence 1? A. Past participle B. Present participle C. Past D. Present
Factoring out x^2-4x+24
which is the best example of rotational motion? A. The wheel spins as long as the hamster keeps running. B. The tornado left a two mile path of destruction.
True or False Can the scientific method be used to prove unique historical events?
How did architecture change during the Middle Ages?
The Roosevelt corollary built upon what other work of foreign policy?
Electrons spin in shells around the nucleus. The closest shell (n = 1) can contain a maximum of _____ electrons? 2 4 6 8
Someone Please Help with these questions, also it has to be solved for x Really need help I'm slow when it comes to math.
why do lower prices increase the demand for product or services