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

Who was caught for treason in Julius Caesar?
Graph two more functions in the same family
During the 11th and 12th centuries, Toledo, Spain was a cultural center for Muslims. Why do many historians believe that this once Islamic town in Spain should
Which of these details does NOT support the central idea? Central Idea: Even though one of Edison's inventions failed, he never stopped trying out new ideas. A)
When a punter kicks a football, is he doing any work on the ball while the toe of his foot is in contact with it? a. Is he doing any work on the ball after it
What is the connection between cancer and cell replication (explained in 1 paragraph)?​
can you please help mee​
Which shows how the distributive property can be used to evaluate 7 times 8 and four-fifths? 56 + StartFraction 28 over 5 EndFraction = 56 + 5 and three-fifths
What part of copyright allows you to sell a used book, cd, or dvd as you wish?
Find the value of each variable