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 is the sum of the last four terms 97+99+101+....+121?
Each box of information below describes one part of an experiment. Read the information, then write which stage of scientific methodology is being described. W
The condensation of _____ formed the early oceans. It is an important part of the water cycle. meteorites water vapor living organisms nitrogen
Do lions shiver? Why or why not
how did geography help shape Nubia?
Each box of information below describes one part of an experiment. Read the information, then write which stage of scientific methodology is being described. W
How many sheep are there if 9 sheep represent 15 percent of the total
Religious and cultural toleration were encouraged in which Muslim empire? A. Safavid Empire B. Mughal Empire C. Ottoman Empire
Bella serves pizza at her party. each pizza is cut into 6 equal slices. there are 13/6 pizzas left after three party is over. the slices are in 3 different pizz
List multiples to find the LCM of 27 and 45 A. 45 B. 675 C. 1, 215 D. 135