At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

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]