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

perimeter = (length + width) * 2

area = length * width

With explanations PlZ