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

which word best describes the type of figurative language used in the following sentence from the passage we stood stunned our hearts applauding their arrival e
whats is the answer -2/3 (-1 1/6)
What is the value of p? 10p+5=18p–62
Give three examples of how a gull uses the energy transferred by respiration.
john Quincy Adams Did Not Actively campaign for re-election because
Working as a team does not demand a lot from you both physically and emotionally. A. True B. False
Complete the sentence with the best verb. Our strawberry and blueberry shake _____ like it could have been made in a restaurant. tastes or taste?
Which statement proves that this shape has symmetry?
can anyone help me to find a rhetorical question for an article which is asking why there should be more parks in town and cities
What aspects of culture would be hard to maintain under the forced labor practices of the European colonies?