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

NEED ASAP CORRECT ANSWER GETS BRAINLIESt
Can someone help me please ?
Help please please....
Can you help me plz i learning it today
Some of the types of energy in the electromagnetic spectrum will be familiar, such as X-rays, microwaves, and radio waves. The most important part of the spectr
Which statement best describes the relationship between the two variables?
Excerpt from Mrs. Wilson's Cook Book Mary A. Wilson BAKED BABY LIMA BEANS These tiny limas are most delicious when baked like the ordinary navy bean. Wash one-h
help pleaseeee I’ll give crown to whoever is first.
A solid turning to a liquid is called..?
A track 400 m in periphery is to be laid out on the practice field. Each semicircular end must have a radius of at least 20 m, and each straight section must be