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 goal of aggression?
1. She hasn't got a child she has got two.... a) childs b) childrens c) childses d) children e) ceailds 2. Jane..... Romanian she's American a) an b) is c) aren
which expression has the same value of x³ ? a. 3x b. x ÷3 c. x · x · x d. 3x · 3x · 3x
what does marcellinus mean when he describes the Huns as being glued to their horses
Who was the main character in the story Cinderella
Please answer the question from the attachment.
What adds to -9, and multiplies to -70?
What part of speech is the italicized word in the sentence below? Four (score) and seven years ago, our forefathers brought forth upon this continent a new nat
The tip of your nose and the palm of your hand have nerve endings that are _____. 2 inches apart far apart 1 inch long close together
How would Alice Adventures in Wonderland be different if a different character within the story was the narrator?