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

y=x^2+12x+10 -8x+y=10
17. Why did the Renaissance begin in Italy?
65/9=p+1/9 how do you solve
which statement best describes an interval
At a hockey game, a vender sold a combined total of 115 sodas and hot dogs. The number of sodas sold was 37 more than the number of hot dogs sold. Find the numb
What was the name given to mining towns that were abandoned after all the gold was mined from the rivers and streams? a. lost towns b. doomsday towns c. ghos
Identify the cause and effect of the Homestead Strike
You stand near the edge of a swimming pool and observe through the water an object lying on the bottom of the pool. which of the following statements correctly
What are 10 examples of human adaptations??
what is the area of the figure ? a ( 32 square centimeters b ( 48 square centimeters c ( 96 square centimeters d ( 60 square centimeters