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

25.Work out the volume of this prism? Please help in for tomorrow
How often should adult tetanus and diphtheria vaccination/booster be repeated?
At a camp, the campers need more than 15 gallons of fresh water everyday. They already jave a gallon of fresh water, and they can collect the additional water b
Who is the head of executive branch of our government?
Give 5 examples each of application and system software
identify the choice that best describes a memo. a. supplies shared across more than one company b. language used within a certain field or industry c. important
A population has a great number of individuals that have the exact same traits. This population would likely have low genetic diversity high diversity growth
Convert 15/50 into a fraction
Which of these options represents the correct flow of events during meiosis ii?
Motorcyclists need extra space on