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

PLEASE HELP PLEASE I WILL GIVE BRAINLIEST
Please help pls pls pls pls it’s due soon
What is the most interesting Or surprising thing you learned about the universe and galaxies?
hi i need help (again) i swear im smart
Comparing notes will identify similarities among a. main ideas, important topics and themes c. both of these b. vocabulary words and important dates d. none of
Solve (images attached) can u check if correct
If p(a) =. 35 and p(b) =. 45 and p(a and b) =. 25, then p(b|a) is
Which of the following statements provides evidence to support the Continental Drift Theory proposed by Alfred Wegener? Select all that apply A. Hot spots are f
Solve the following proportions
What are the horticultural advantages of producing plants by cuttings rather than from seeds? Can you think of any disadvantages?​