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

The equation above shows how temperature F, measured in degrees Fahrenheit, relates to a temperature C, measured in degrees Celsius. Based on the equation, whic
18t What is the value of t? 12t 15t
Why are proteins important in the life of a cell
what season is it currently and why.
Java Unit 3: Lesson 3 - Coding Activity 3
A sampling distribution is a distribution of A. Data values from a single sample B. Sample means O c. Population data values © D. Variances
The land-grant college idea finally became law in 1862 because ___. all of these none of these President Lincoln desired training schools for military officers
2x2-11x/2-1+y/z if x = 3, y = 7, and z = 2?
39) The students in Mr. Ricks' drama class are writing a play and need facts about the environment to include in the play. Which of these MOST LIKELY contains t
i need help to fill in a few blanks with this coding homework. did some, but need help on the rest. the assignment is down below # Cody Ryan, 4/28/2022, this is