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

How do you gather like terms?
An automobile engine provides 527 Joules of work to push the pistons. In this process the internal energy changes by -2886 Joules. Calculate q for the engine. T
Help I'm scared I cant get another question wrong!!!
23,478 round to the nearest ten thousands
Is (1, 8) a solution to this system of equations? y = 5x + 3 y = x + 7
Which task is performed by a geographic information system (GIS)? (A) Identifying areas with less oxygen (B) Finding zip codes of areas with high population
pleaseeee hellllppp thanks !
Which of the following expenses incurred by a department store is an a. 18. indirect expense? Insurance on merchandise inventory b. Sales salaries Depreciation
Antitrust laws may A. enhance the ability of firms to capture profits from a concentration of market power. B. enhance the ability of firms to reduce economic l
If five times the measure of an angle is decreased by 30, the result is the same as when two times the measure of the angle is increased by 18. What is the meas