Question: In javascript please c. Write a test program that will: - Create a Rectangle object rect1 with default values for length and width. - Create
In javascript please
c. Write a test program that will: - Create a Rectangle object rect1 with default values for length and width. - Create a Rectangle object rect2 with width of 8.5 and length of 10.4. These values will be inputted from keyboard. - Change width of rect1 to 4 and its height to to 8 - Print information for rect1 - width, length, area and perimeter. Make sure to include descriptive text of value printed. - Repeat steps above for rect2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
