Computer Science, asked by amishafilomeena1003, 9 months ago

please answer this question of computer working should be in IDLE answer all of them of computer.

Accept length and breadth of a
rectangle. Find the area.​​

Answers

Answered by luisecubero77
1

Answer:

Python 3.7.5, save as area.py

b = float(input("Input widht "))

h = float(input("Input height "))

area = b * h

print("Area is: ",area)

Explanation:

Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> b = float(input("Input widht "))

Input widht 5

>>> h = float(input("Input height "))

Input height 5

>>> area = b * h

>>> print("Area is: ",area)

Area is:  25.0

>>>

Attachments:
Similar questions