IDNLearn.com: Where your questions meet expert advice and community support. Join our Q&A platform to receive prompt and accurate responses from knowledgeable professionals in various fields.

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

Sagot :

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.