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 area of a sector of the circle with an arc measure of 45 degree and with a radius of 4 is?
What is the difference between anus and ovary
What is the x-coordinate of the point in the standard (x,y) coordinate plane at which the 2 lines y = 2x + 6 and y = 3x + 4 intersect? Can you please explain wi
Which sentence does not contain any punctuation errors?  A.The smoothie recipe includes the following, frozen berries, yogurt, and vanilla extract.  B.The smoot
What city was hephaestus patron of ???
You deposit $6,700 in a money-market account that pays an annual interest rate of 3.3%. The interest is compounded quarterly. How much money will you have after
Comflict between Ralph and Jack quotes ?
Which is closest to 0.5? 0.4, 0.505, 0.449, 0.48 or 0.53?
What were the causes of the cold war?
What is x2 -6x-23=0 using square roots