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

A regular trial jury at the state level is called a:
What are the requirements for two atoms to be isotopes of each other?
what is the biological importance of the polarity of water?
Find the cost per ounce of a sunscreen made from 100 oz of a lotion that costs $1.50 per ounce and 150 oz of a lotion that costs $4.50 per ounce. (round your an
List of cities in michigan by population
What did noble women contribute to medieval warrior society
Which two minerals would be most useful as grains on sandpaper?
What was the name of the period that ushered a new age for childhood and family?
In a chemical reaction,28 g of iron react with 16 g of sulfur to produce ____ of iron sulfide
What is the angle above the x axis (i.e., "north of east") for a vector with components (15 m, 8 m)?