julietjohn77
julietjohn77 julietjohn77
  • 26-03-2021
  • Computers and Technology
contestada

to assign length and breadth to display area of a rectangle​

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 31-03-2021

Answer:

In Python:

Length = float(input("Length: "))

Breadth = float(input("Breadth: "))

Area = Length * Breadth

Print(Area)

Explanation:

Get values for length and breadth

Length = float(input("Length: "))

Breadth = float(input("Breadth: "))

Calculate area

Area = Length * Breadth

Print area

Print(Area)

Answer Link

Otras preguntas

The United States corporation system was an outgrowth of the New Deal. true false
Three angles are in the ratio 2:3:5 The smallest angle is 50 degrees Work out the size of the other two angles
A town has a population of 29,000. The population is decreasing by 2.5% each year. At this rate, what will the population be after ten years?
if a persons hair grows about 1.2 centimeters a month about how much would it grow in 9 months
100 years after columbus, the largest number of immigrants to the new world were: A. Spanish and Africans B. French and English C.Swedish and english D. They we
How did the emancipation proclamation change the way people felt about the war?
Which of the following is a landform that is almost always flat? A)glacier B) loess C) plain D)peninsula
what is the value of the digit 9 in the number 50.912
true or false The Command of the Army Act required the president to issue all orders to the army through the General of the Army.
PLEASE HELP I GIVE THANKS