Question: Write a CH program that prompts the user for the length and the width of a rectangle. The program should find and print the following:
Write a CH program that prompts the user for the length and the width of a rectangle. The program should find and print the following: 1. The area of the rectangle 2- The perimeter of the rectangle. Rectangle: Area = Length x Width A = lw. W Perimeter = 2 X Lengths + 2 x Widths P= 21 + 2w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
