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

in the triangle cosA/cosB= what can you help me?
Of the following, which one is an observational study? 1. Asking people for their opinion on the taste of a new cereal 2. Checking the effectiveness of a new he
What finally led to U.S participation in World War I? A- requests for support from England and France B- the addition of Mexico to the Allies C- unrestricted Ge
A school counselor surveyed 90 randomly selected students about the languages they speak. Of the students surveyed, 16 speak more than one language fluently.
what is the suface area of a volleyball with a circumference of 25 inches
Which of these statements expresses the most positive connotation? A) Mr. Langley asked the boys to take their seats. B) Mr. Langley begged the boys to take th
Write 3-4 sentences introducing Alaska and its good qualities. Please help !!!!!
identify the polynomial -4x
Which of the following is not a factor that controls temperature? a. longitude b. angle of the sun's rays c. cloud cover d. altitude
factored form of d^2-13d+30