Q7: Write a program that asks for length L and the width W of a rectangle, then compute perimeter and area of the rectangle. Make sure that L and W are positive numbers.
perimeter = (length + width) * 2
area = length * width
With explanations PlZ
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from test_prep.pdf.
- Suppose you operate in a monopoly environment and you set your price in order to achieve maximum profits. Is your demand elastic, unitary elastic, or
- Please refer to the attachment to answer this question. This question was created from BUAD_6200_Case_01_Fall_2016-000 Case Information.