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 equation of a line that has a slope of 2 and passes through the point (2, 3)? y = 2x - 4 y = x + 2 y = 2x + 1 y = 3x - 1 y = 2x - 1
Select a point that is a solution to the system of inequalities
Write the ratio as a fraction in simplest form. 30 : 48 A: 5/8 B: 8/5 C: 30/48 D: 1/6
como resolver y=1-2.5
△DEF is reflected to form​​ ​ △D′E′F′ ​. The vertices of ​ ​ △DEF ​ ​ are ​ D(−1, −1) ​, ​ E(1, −1) , and ​ F(−1, −6) ​. The vertices of ​ △P′Q′R′ ​ are D′(−
Suppose cos V = 2/3 in the diagram below. What is TV?
Lower Nubia began to challenge Egypt. True or False?
Android is a software product developed by google that allows cell phone manufacturers to control hardware and establishes standards for developing and executin
HEEEEEEELLLLLLLPPPPPP :(
Teach a Lesson: Explore Moral Dilemmas What are the components of a lesson?