sajadadel0773
sajadadel0773 sajadadel0773
  • 16-06-2022
  • Engineering
contestada

Design a program that calculates the area and circumstance of rectangle?​

Respuesta :

ian0205huang
ian0205huang ian0205huang
  • 16-06-2022
Let “w” and “L” be the width and length of the rectangle. “p” and “a” are perimeter and area
For python,
w=int(input(“width”))
l=int(input(“length”))
a= w*l
p=2*w+2*l
print(str(a), str(p)
Answer Link

Otras preguntas

a box has dimensions of 19 inches long 1.7 feet wide and 6 inches high what is the volume box
Describe two traits that represent a sustainable society and two traits of a nonsustainable society
A square rotated about its center by 360º maps onto itself at different angles of rotation. You can reflect a square onto itself across different lines of ref
What were the chief provisions in the USA Patriot Act?
Jenna wants to open a salon and must choose a location. At Location A, she will pay $1200 per month and charge $45 per haircut. At Location B, she will pay $180
Read the excerpt from Act III, scene ii of Romeo and Juliet. In this excerpt Which words and phrases from the passage support the motif of darkness? Check all t
Why was the Dred Scott decision so controversial in the North?
An api is a set of application or operating system functions that programmers can add to the programs they create.? a. True b. False
Please help me with this problem. I am lost!:(
Which two US territories are closest to the continental United States? Puerto Rico and American Samoa US Virgin Islands and Guam Puerto Rico and US Virgin Islan