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

Dinosaurs have disappeared Incomplete or complete sentance?
what substance is the genetic material of living things
The middleman of the Middle-East decreased the price of goods and services. True False
what is 2 + 2????????????????????
Forced migration can be difficult to define because __________. A. the individual who is moving typically analyzes the options and weighs the pro and cons B. so
15. Which word pair has opposite denotations? tedious, boring exceptional, common ordinary, standard amazing, incredible
Oliver spent $15.68 on a shirt, $29.67 on shoes, $14.95 on pants, and $18.43 on a watch. How much did he spend in total?
-2.25=4+y/5 Please help me answer this ASAP!!! please and thank you...
In gym class, for every 8 girls there are 1/4 of the number of boys. If there are 24 girls in gym class, How many boys are in the gym class?
a total of 440 tickets were sold for the school play. They were either adult tickets or student tickets. The number of student tickets sold was three times the