Join the conversation on IDNLearn.com and get the answers you seek from experts. Our community provides accurate and timely answers to help you understand and solve any issue.

write a program to find a perimeter of rectangle using SUB.. ..End SUB​

Sagot :

[tex]\\ \tt l=float(input("Enter\:the\: length:"))[/tex]

[tex]\tt b=float(input("Enter\: breadth:"))[/tex]

[tex]\tt P=2*(l+b)[/tex]

[tex]\tt print ("Perimeter=",P)[/tex]