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

what are disadvantages of using pesticides
Which of the following was a reason some Americans were in support of American Imperialism? Immigration needed to be restricted The US needed to maintain their
Which idea did Descartes contribute to the Scientific Revolution?
Can someone help me?
When we are forced to make choices, we are facing the concept of ?
Please need help thank you
Perhaps you have the job of assigning the proper number of House of Representatives seats for various states. To do that, you must know the _______ in that stat
When mergers and acquisitions fail, it is most likely a result of ________ issues?
A term to describe the efficiency of the metabolism and the recovery cycle is cyclic rejuvenation. 12 steps of recovery. metabolic rate. enzymatic r
Open the brackets using the Present Simple and Present Progressive Tenses: 1. British people ............. (to drink) more tea than coffee. 2. Could you come he