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 mass of K2CO3 is needed to prepare 200. mL of a solution having a potassium ion concentration of 0.150 M
Landmark cases create changes in
Which of the following sentences are punctuated correctly?
I need help please. Can anyone please help me :(
Devin is charged with receiving stolen goods after buying five smartphones from a man he meets on the street. What is NOT an option for Devin to defend himself
Find Raleigh, North Carolina and Denver, Colorado on the map. Which city is closer to sea level? A. Denver or B. Raleigh
Write a Java program that reads an 8-bit binary number from the keyboard as a string and then converts it into decimal. For example, if the input is “01001101”,
Math sequences number patterns
Please help me with this
im really stuck on this one. can someone help me? And please give me the right answer. ive been getting wrong answers