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

what is the best source of vitamin C? - Cheddar Cheese -strawberries -lentils
What is the mode and mean for class A and the range and medium for class B????
Select the answer option that lists the levels of genetic information in order from smallest to largest. gene; dna strand; chromosome; genome gene; chromosome;
Read the passage. excerpt from "A Cooking Revolution: How Clean Energy and Cookstoves Are Saving Lives" by Chef José Andrés, June 7, 2016 Cooking: it's a simp
Is #3pi# a rational, irrational number, natural, whole or integer?
Let y = f(t) be a solution to the differential equation dy/dt = ky, where k is a constant. Values of f for selected values of t are given in the table above. Wh
Why is only one side of the moon visible from earth?
Given: AB is a tangent of X. AB = 70 and XD = 12. What is the measure of DB?
Which is the correct answer ?
Conflict sociologists believe that the educational system limits the potential of certain individuals and groups in order to maintain power and social rewards.