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

what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?