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

Which of the following does not accurately describe the Medicis? A. They thought a monarchy was the best form of government. B. They were the most powerful fa
Which argument is true based on this excerpt from the US Constitution? "Judgment in Cases of impeachment shall not extend further than to removal from Office, a
What was the purpose of Project Mercury? A. to land on and explore the moon B. to orbit, rendezvous, and dock spacecraft C. to see if a man could survive i
What is the value of x? º
Conversion A gauze pad for a dressing is 5 cm (_______inches).
What kinds of evidence do archaeologists, anthropologists, and paleontologists study to find out how prehistoric people lived?
what does the forebrain control?
a blouse is regularly sold for 28.50$ and is on a sale for one third off, what is the sale price of the dress
Can you give an example of a work of Pollock and shortly say why it's considered to be good or why you (don't like it)?
Two positive numbers have a difference of 17. The larger number is one more than twice the smaller. Find the two numbers.