Write a program to input the sides of square and Rectangle
and find which figure is having more area.
Answers
Answered by
4
Answer:
si = float(input ("enter the sides ")
l = float(input ("enter the length of rectangle ")
b = float(input ("enter the breadth of rectangle ")
aos = si * si
aor = l * b
if aos > aor :
print("Area of square is more", aos)
else:
print("Area of rectangle is more", aor)
Explanation:
Hope this will help you...
Similar questions
Sociology,
3 months ago
Science,
7 months ago
English,
7 months ago
Physics,
1 year ago
Accountancy,
1 year ago