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 what situation does friction make an object change its shape
What is the Difference between Research and Investigation???
find the area of a triangle given that c=40m b=20m a=48°
if the score is 90% and the total is 70 what is the number correct ?
Bethany's dog eats 450 grams of food per day. How many kilograms does the dog eat in a week
What are some 5th grade science words that start with y
What's the answer to this problem?
Please help??? Science SEMESTER REVIEW!!!!In a series of rock layers, a geologist finds fossils of a pine trees and oak trees in layers that are 1.0 m and 1.5
what group was successful in achieving its goals at the congress of vienna , nationalists conservatists liberals or anarchists?
what is a similar quote for Romeo and Juliet "my bounty is as boundless as the sea . My love as deep , the more i give to thee , the more i have , for both are