Write a program to calculate the area of a rectangle. The program should get the length and breadth ; values from the user and print the area.
Write a program to calculate the area of a rectangle. The program should get the length and breadth ; values from the user and print the area.
4 views
1 Answers
length = input(“Enter length”)
breadth = input(“Enter breadth”)
print “Area of rectangle =”,length*breadth
4 views
Answered