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

Both stimulants and depressants can be A) inhaled B) injected C) smoked D) all of the above
find The common factor of all the terms of the polynomial 16x^2 - 14x
Which era saw various noble figures emerge as well-known composers?
What is the solution set
Which is correct? A. There are 0.35 hectoliters in 35 deciliters. B. There are 7.62 centiliters in 762 liters. C. There are 6.8 kiloliters in 68 hectoliter
The length of a rectangle is 24 units. Can the perimeter x of the rectangle be 60 units when its width y is 11 units?
Can someone explain to me how to do this problem???
What does xylem do in a plant
What did the War Powers Resolution of 1973 do?
Denial of insurance is an example of which type of risk identification