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

pedro will either sing________ dance in the talent show A.or B.and C.but
How did Mexico react when the United States annexed Texas
Parenthood is an important part of many people's lives. Parenting can be very rewarding and challenging as well. What are some of the responsibilities and chall
Need help homework due tomorrow and I can't figure out this problem ( sorry if blurry)
excerpt from Act I, Scene 1, in Hamlet by William Shakespeare In this excerpt, three soldiers discuss their sighting of the dead king's ghost. Horatio Stay! spe
There are two different jobs Jordan is considering. The first job will pay $4200 per month plus annual bonus of $4500. The second job pays $3100 per month plus
Does your zodiac sign affect your personality
De estos dulces te gustan ms? ? (blank pudiste terminar la tarea esa noche? ? cundo (blank te llev tu esposo para celebrar su aniversario?
The interior angles formed by the sides of a pentagon have measures that sum to 540°. What is the measure of angle B? m∠B=
Philosophers are most interested in what kind of questions?