1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
allochka39001 [22]
2 years ago
5

Write a qbasic program to find out the area of the square and cube​

Computers and Technology
1 answer:
Gekata [30.6K]2 years ago
5 0

Answer:

QBasic Programming REM PROGRAM TO DISPLAY AREA AND PERIMETER OF SQUARE CLS INPUT “ENTER LENGTH”; L A= L ^ 2 P = 4 * L PRINT “AREA OF SQUARE “; A

Explanation:

You might be interested in
What statement best describes operating systems?
True [87]

Answer:

An operating system, or "OS," is software that communicates with the hardware and allows other programs to run

3 0
3 years ago
Read 2 more answers
Consider the following Python program. fin = open('words.txt') for line in fin: word = line.strip() print(word) What is word?
patriot [66]

Answer:

(c) A list of words

Explanation:

<em>First let's format the code properly</em>

fin = open('words.txt')

for line in fin:

     word = line.strip()

     print(word)

<em>Second, let's explain each line of the code</em>

Line 1:

The open() function is a built-in function that takes in, as argument, the name of a file, and returns a file object that can be used to read the file.

In this case, the name of the file is <em>words.txt. </em>Therefore, the variable <em>fin </em>is a file object which contains the content of the file - <em>words.txt</em>

Line 2:

The <em>for </em>loop is used to read in each line of the content of the file object (fin).

Line 3:

Each line of the contents is stripped to remove any trailing and leading white spaces by calling on the <em>strip()</em> function. The result of the strip is stored in the variable <em>word.</em>

Line 4:

The content of word at each of the cycles of the loop is printed to the console.

Therefore,  the overall output of the program is a list of words where each word represents a line in the target file (words.txt)

4 0
4 years ago
"which part of an information system consists of the rules or guidelines for people to follow?"
choli [55]
Procedures are part of the information system that consist of the rules or guidelines for people to follow. Procedures are one of the main components of the information system, together with the hardware, software, telecommunications, databases, data warehouses and human resources. The procedures are policies that specify the requirements and standards for operation of the computer.
3 0
3 years ago
Describe a tsunami when it is far from the coast
Y_Kistochka [10]

I hope it is helpful for you ......

<h3>Mark me as Brainliest ......</h3>

7 0
4 years ago
you try to run the chkdsk utility from a command prompt but you keep getting an error message that you need to run it in elevate
DerKrebs [107]
When opening the CMD prompt from the RUN menu, right-click the option and select "Run as Administrator" in order to elevate permissions.
3 0
3 years ago
Other questions:
  • An intranet is an external network.TrueFalse
    15·1 answer
  • Plz help! 3 questions! 1.The ideal light to use is.... A.front light B.a combination of side and back light C.a combination of f
    10·1 answer
  • What is a premium?
    14·2 answers
  • Exposure value bracketing
    6·1 answer
  • I am on windows 10 OS. I have been trying to figure this out for ages! I want to get my task bar (on the bottom of the screen) t
    14·2 answers
  • Is a pocket watch consider a computer
    15·1 answer
  • Which of the following is NOT true about digitizing physical media?
    10·1 answer
  • Modify theme in excel
    5·1 answer
  • what are some steps Hector could have taken to ensure that his photographs were not ruined near the end of the shoot?
    12·1 answer
  • Accenture is one of several hundred companies that has signed on to the united nations global compact (ungc) business ambition p
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!