Computer Science, asked by thisisfshumaaiyal, 4 months ago

Write a program to input the sides of square and Rectangle
and find which figure is having more area.

Answers

Answered by dakshsingh24
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