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

At 10 A.M., the temperature was 71F°. At 3 P.M., the temperature was 86F°. Find the value of the slope and explain what it means.
What is 48,100,000,000,000 in scientific notation?
If you need a wet paper towel out on the counter is a vintage I was change of state cuts is this
7849 rounded with the 7 underlined
The concept of voting rights is based on
If x = 9, what is the value of y in the equation below? (y = 8x - (1+4x) ?
whats the answer to 9s+3=57
Which of the following best describes Daniel Webster’s views? a. .he disagreed with slavery but supported compromise b. he declared nullification a form of trea
what is 435,647 in word form and expanded form
What effect do you think the Pyrenees, Alps, & Carpathian Mountains had on life in medieval Europe?