Abinshapaudel
Abinshapaudel Abinshapaudel
  • 23-03-2022
  • Computers and Technology
contestada

P a. Write a program to input a side of a square. Calculate and print the area of a square.
​

Respuesta :

stapmoshun
stapmoshun stapmoshun
  • 23-03-2022

Answer:

INPUT "What is the side of the square"; sidelength

areasquare = sidelength*sidelength

PRINT areasquare

Explanation:

the formula for area of a square is side times side

done in QBASIC programming language!

Answer Link

Otras preguntas

Is it true that the Mediterranean sea made it easier for other countries to invade Egypt
what are the properties of elements related to
How did Progressives view the role of government? Government should not intervene in the economy or society. Government should take an active role in the econom
What is 20/2(5*5) equal
Who named a country after himself? A. David Livingstone B. Cecil Rhodes C. Benjamin Disraeli
Jon's dog weighed 7 pounds when he got him. The dogs weight tripled each year for 2 years. How many Ounces does John's dog now way?
In which sentence does the hyphen correctly divide a word? A. The left ventricle is the fourth chamb- er of the heart. B. The left ventricle is the fourth cham-
Which sentence uses correct capitalization? A. Just off the coast of California is the lovely Catalina island. B. The Emancipation Proclamation was announced du
Customary Units of Capacity Questions fill in the blanks. blank qt = 8 c 4 gal = blank qt blank gal = 16pt blank c =3 gal blank gal = 56pt 4 gal = blank pt bla
A nation that was not an Allied Power of World War I was: England Japan United States Switzerland France Italy