Westonci.ca is your go-to source for answers, with a community ready to provide accurate and timely information. Get detailed and precise answers to your questions from a dedicated community of experts on our Q&A platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our 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]