51.3k views
18 votes
Write an algorithm to get the value of length and breadth of a rectangle from the user and find its area. inn qbasic

User Van Gale
by
3.3k points

1 Answer

13 votes

Answer:

IN PYTHON ::

x=int(input('Enter length:'))

y=int(input('Enter width:'))

print('Area of the rectangle is', x*y,'squared units')

I hope it will be useful.

User Brad Barrow
by
3.3k points