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 are the coordinates of y-intercept of the line y= -3× -2?​
Did i get almost an entire lesson on math done in a day? Yes Was it hard? N o p e
Rewrite by completing the square: 2x^2 - 10x + 5
321,000,000 in scientific notation
PLS HELP HELP HELP HELP!
How did the contributions of the women on WWII change the women's role United States? (i put pictures of the article)
Mrs. Datz had to make a visit to the bank because her account was overdrawn by $32. After making a deposit of $100, Mrs. Datz was now happy that she had some mo
Calculate the derivative of the following function. y=e6x(6x+1)5
the james family went to a restaurant for dinner, their bill was $58.97 . they would like to leave a 20% tip. what is the amount of the tip they would like to l
During a guided tour of Sindrow Castle, a group of tourists climbed to the top of Fineview Tower. At the top, the guide asked the six children in the group to g