Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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]