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

Ronald is changing the shape of his backyard from 100 feet long by 22 feet wide to a square that has the same area. What is the perimeter of the square backyard
I need help Answering this question anyone
The angles in a triangle are such that one angle is 120 more than the smallest angle, while the third angle is 3 times as large as the smallest angle.
A right triangle has side lengths 5,12, and 13 as shown below.
who believed power should not be concentrated in the hands of one individual
whats a relation between physics, biology and chemistry? normal answers only
Esta expresión musical proviene de Andalucía, España. Elige una A.la música pop B. El jazz C. El flamenco D. La música clásica
please help and explain. thanks
in 1903 the United States helped panama gain independence from Columbia which statement best explains the reason for this action
Laws that protect women from being questioned about their sexual history unless it directly bears on the case are called: