Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Find reliable answers to your questions from a wide community of knowledgeable experts on our user-friendly Q&A platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

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]