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 type of spectrum is shown below? absorption electromagnetic emission infrared light
Which of the following equations represents the greatest value of x? Equation 1 x^2 = 17 Equation 2 x^2 = 26 Equation 3 x^3 = 64 Equation 4 x^3 = 27 Equation 1
The demand for seats in 10 a.m. classes at the college of the canyons is higher than the demand for seats in 8 a.m. classes. the supply is fixed. if the college
What is the solution to the following system ?
Why did the idea of switching to frozen fries appeal to Ray Kroc? A. Buying frozen fries cost much less than paying employees to slice potatoes. B. The artifi
what does disenfranchise mean
Lisa is writing a coordinate proof to show that the diagonals of a square are perpendicular to each other. she starts by assigning coordinates as given. a squar
An equation that performs a calculation is a formula. True or false quest
In what ways can citizens participate in the election process?
Which of the following phenomena demonstrate the significance of Southeast Asia’s proximity to India? Select all that apply. spread of Daoism spread of Islam sp