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 distance between the following points?
When did the civil rights movement in the us take place
3) PLS HELP ASAP!!!! BRAINLIEST AND POINTS
Which of the following composers did Haydn influence the most ?
how is manifest destiny and monroe doctrine similar
Study the following list of words. Check all the words which could be categorized as SLOW words. Use your dictionary or thesaurus if you are not sure of a word'
Explain the reasons why the Federal Government found it necessary to put Japanese Americans in internment camps.
Before Mount Everest was discovered, what was the highest mountain on Earth?
What is the figure of speech of this She's a frozen fire, she's my one desire. (“Let’s Go,” The Cars)
The airport security randomly selected 36 suitcases from the security line. Of these bags, they screened 8 suitcases. Based on this information, what is the mos