yo8739457
yo8739457 yo8739457
  • 24-06-2021
  • Computers and Technology
contestada

write a program to enter length of a square and print area of square.
(class 8)​

Respuesta :

aayu0302
aayu0302 aayu0302
  • 24-06-2021

Explanation:

Using python,

Length=int(input('Enter the length :'))

Breadth=int(input('Enter the breadth :'))

Area=length*breadth

print('The area is:' , Area)

Answer Link
bhadelsimron19
bhadelsimron19 bhadelsimron19
  • 24-06-2021

Answer:

program by INPUT statement

Explanation:

CLS

REM to enter length of a square and print area of square.

INPUT "Enter length of a square"; l

LET Area of a square = l^2

PRINT " AOF "; Area of a square.

END

Answer Link

Otras preguntas

thank you all for helping pass my classes
Calculate the mass, in grams, of Al(OH)3 required for this reaction: Reactant(s) Products Al(OH)3 ⟶ Al2O3 + H2O mass:
1 = ?/5 what is the answer
We have 6 different robots and we want to arrange them in a line. How many different ways are there to arrange them?
What nations formed the Triple Entente? Russia, Germany, and Austria-Hungary Germany, Austria-Hungary, and Italy France, Russia, and Great Britain Great Britain
Which type of biome is the most productive? A. Desert B. Tropical rain forest C. Taiga D. Tundra
Which rule explains why these triangles aren't congruent? see picture below.
Explanation of Pearl Harbor in relation to isolationism
Data regarding average reported number of calories consumed per day is collected from a random sample of 800 CSUN students chosen using randomly selected studen
Is the arrangement of vascular bundles in the stem same for all plant species?Explain